mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-13 17:22:06 +08:00
format
This commit is contained in:
parent
6a93f98a1f
commit
b94b9a8341
@ -53,7 +53,6 @@ TEST_CASE("discard policy ", "[async]")
|
||||
REQUIRE(test_sink->flushed_msg_counter() < messages);
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("flush", "[async]")
|
||||
{
|
||||
auto test_sink = std::make_shared<spdlog::sinks::test_sink_mt>();
|
||||
@ -72,9 +71,7 @@ TEST_CASE("flush", "[async]")
|
||||
REQUIRE(test_sink->msg_counter() == messages);
|
||||
REQUIRE(test_sink->flushed_msg_counter() == messages);
|
||||
|
||||
|
||||
REQUIRE(test_sink->flushed_msg_counter() == messages);
|
||||
|
||||
}
|
||||
|
||||
TEST_CASE("multi threads", "[async]")
|
||||
@ -107,7 +104,6 @@ TEST_CASE("multi threads", "[async]")
|
||||
REQUIRE(test_sink->flushed_msg_counter() == messages * n_threads);
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("to_file", "[async]")
|
||||
{
|
||||
|
||||
@ -136,5 +132,3 @@ TEST_CASE("to_file", "[async]")
|
||||
spdlog::drop("as");
|
||||
REQUIRE(count_lines("logs/async_test.log") == messages * n_threads);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user