mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 18:39:03 +08:00
clang format
This commit is contained in:
@@ -36,7 +36,6 @@ TEST_CASE("discard policy ", "[async]")
|
||||
logger->info("Hello message");
|
||||
}
|
||||
REQUIRE(test_sink->msg_counter() < messages);
|
||||
|
||||
}
|
||||
|
||||
TEST_CASE("discard policy using factory ", "[async]")
|
||||
@@ -54,7 +53,6 @@ TEST_CASE("discard policy using factory ", "[async]")
|
||||
auto sink = std::static_pointer_cast<sinks::test_sink_mt>(logger->sinks()[0]);
|
||||
REQUIRE(sink->msg_counter() < messages);
|
||||
spdlog::drop_all();
|
||||
|
||||
}
|
||||
|
||||
TEST_CASE("flush", "[async]")
|
||||
@@ -73,12 +71,11 @@ TEST_CASE("flush", "[async]")
|
||||
|
||||
logger->flush();
|
||||
}
|
||||
//std::this_thread::sleep_for(std::chrono::milliseconds(250));
|
||||
// std::this_thread::sleep_for(std::chrono::milliseconds(250));
|
||||
REQUIRE(test_sink->msg_counter() == messages);
|
||||
REQUIRE(test_sink->flush_counter() == 1);
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("async periodic flush", "[async]")
|
||||
{
|
||||
using namespace spdlog;
|
||||
|
@@ -77,7 +77,6 @@ TEST_CASE("to_level_enum", "[convert_to_level_enum]")
|
||||
REQUIRE(spdlog::level::from_str("null") == spdlog::level::off);
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("periodic flush", "[periodic_flush]")
|
||||
{
|
||||
using namespace spdlog;
|
||||
|
Reference in New Issue
Block a user