Update test_async.cpp

This commit is contained in:
Gabi Melman 2024-03-24 10:16:22 +02:00 committed by GitHub
parent a19c76a4e7
commit 62302019ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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");
} }