mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 09:31:34 +08:00
Update file_log.cpp
This commit is contained in:
parent
12bbef308b
commit
8179b26388
@ -33,7 +33,7 @@ TEST_CASE("flush_on", "[flush_on]]")
|
||||
|
||||
logger->info("Test message {}", 1);
|
||||
logger->info("Test message {}", 2);
|
||||
logger->flush();
|
||||
|
||||
REQUIRE(file_contents(filename) == std::string("Should not be flushed\nTest message 1\nTest message 2\n"));
|
||||
REQUIRE(count_lines(filename) == 3);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user