mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Fixed dup_filter test
This commit is contained in:
parent
c75549f6db
commit
71162ebdbb
@ -28,6 +28,7 @@ TEST_CASE("dup_filter_test2", "[dup_filter_sink]")
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
dup_sink.log(spdlog::details::log_msg{"test", spdlog::level::info, "message1"});
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(5));
|
||||
}
|
||||
|
||||
REQUIRE(test_sink->msg_counter() == 10);
|
||||
|
Loading…
Reference in New Issue
Block a user