diff options
author | louiz’ <louiz@louiz.org> | 2016-10-12 22:18:53 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-10-12 22:18:53 +0200 |
commit | 34bd8b93da7f7dd570a100b125941eef6331410e (patch) | |
tree | 19194a87d6cdcf93a46cf2773a6422df654f680c /tests | |
parent | 86c927ae17f553b77f9e8fb31cf15335599d4928 (diff) | |
download | biboumi-34bd8b93da7f7dd570a100b125941eef6331410e.tar.gz biboumi-34bd8b93da7f7dd570a100b125941eef6331410e.tar.bz2 biboumi-34bd8b93da7f7dd570a100b125941eef6331410e.tar.xz biboumi-34bd8b93da7f7dd570a100b125941eef6331410e.zip |
Disable the output in the config unit test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/config.cpp | 5 |
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); |