summaryrefslogtreecommitdiff
path: root/tests/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/config.cpp')
-rw-r--r--tests/config.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/config.cpp b/tests/config.cpp
index ddea151..a6fa92a 100644
--- a/tests/config.cpp
+++ b/tests/config.cpp
@@ -1,9 +1,14 @@
#include "catch.hpp"
+#include "io_tester.hpp"
+
+#include <iostream>
#include <config/config.hpp>
TEST_CASE("Config basic")
{
+ // Disable all output for this test
+ IoTester<std::ostream> out(std::cout);
// Write a value in the config file
Config::read_conf("test.cfg");
Config::set("coucou", "bonjour", true);