diff options
author | louiz’ <louiz@louiz.org> | 2016-06-13 19:59:17 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-06-13 20:46:30 +0200 |
commit | 5a2e61161792cf51209f240e40e28036195f35be (patch) | |
tree | ed63eff92b075117e8f16e8644d715c4ca0fd132 /tests | |
parent | ad4ccdbbea129cfbab89773bea040d4149afcb2d (diff) | |
download | biboumi-5a2e61161792cf51209f240e40e28036195f35be.tar.gz biboumi-5a2e61161792cf51209f240e40e28036195f35be.tar.bz2 biboumi-5a2e61161792cf51209f240e40e28036195f35be.tar.xz biboumi-5a2e61161792cf51209f240e40e28036195f35be.zip |
Show off, with some variadic templates, for the logger module
Diffstat (limited to 'tests')
-rw-r--r-- | tests/logger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/logger.cpp b/tests/logger.cpp index 2a99374..7ae4f03 100644 --- a/tests/logger.cpp +++ b/tests/logger.cpp @@ -24,7 +24,7 @@ TEST_CASE("Basic logging") WHEN("we log some debug text") { IoTester<std::ostream> out(std::cout); - log_debug("debug"); + log_debug("deb", "ug"); THEN("debug logs are written") CHECK(out.str() == debug_header + "tests/logger.cpp:" + std::to_string(__LINE__ - 2) + ":\tdebug\n"); } |