mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
Update test_async.cpp
This commit is contained in:
parent
a19c76a4e7
commit
62302019ba
@ -132,7 +132,6 @@ TEST_CASE("multithread flush", "[async]") {
|
|||||||
}
|
}
|
||||||
REQUIRE(test_sink->flush_counter() >= 1);
|
REQUIRE(test_sink->flush_counter() >= 1);
|
||||||
REQUIRE(test_sink->flush_counter() + errmsgs.size() == n_threads * flush_count);
|
REQUIRE(test_sink->flush_counter() + errmsgs.size() == n_threads * flush_count);
|
||||||
|
|
||||||
if (errmsgs.size() > 0) {
|
if (errmsgs.size() > 0) {
|
||||||
REQUIRE(errmsgs[0] == "Broken promise");
|
REQUIRE(errmsgs[0] == "Broken promise");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user