Show off, with some variadic templates, for the logger module
This commit is contained in:
+1
-1
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user