Disable the output in the config unit test
This commit is contained in:
@@ -1,9 +1,14 @@
|
|||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
|
#include "io_tester.hpp"
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
#include <config/config.hpp>
|
#include <config/config.hpp>
|
||||||
|
|
||||||
TEST_CASE("Config basic")
|
TEST_CASE("Config basic")
|
||||||
{
|
{
|
||||||
|
// Disable all output for this test
|
||||||
|
IoTester<std::ostream> out(std::cout);
|
||||||
// Write a value in the config file
|
// Write a value in the config file
|
||||||
Config::read_conf("test.cfg");
|
Config::read_conf("test.cfg");
|
||||||
Config::set("coucou", "bonjour", true);
|
Config::set("coucou", "bonjour", true);
|
||||||
|
|||||||
Reference in New Issue
Block a user