Commit b94b9a83 authored by gabime's avatar gabime

format

parent 6a93f98a
...@@ -53,7 +53,6 @@ TEST_CASE("discard policy ", "[async]") ...@@ -53,7 +53,6 @@ TEST_CASE("discard policy ", "[async]")
REQUIRE(test_sink->flushed_msg_counter() < messages); REQUIRE(test_sink->flushed_msg_counter() < messages);
} }
TEST_CASE("flush", "[async]") TEST_CASE("flush", "[async]")
{ {
auto test_sink = std::make_shared<spdlog::sinks::test_sink_mt>(); auto test_sink = std::make_shared<spdlog::sinks::test_sink_mt>();
...@@ -72,9 +71,7 @@ TEST_CASE("flush", "[async]") ...@@ -72,9 +71,7 @@ TEST_CASE("flush", "[async]")
REQUIRE(test_sink->msg_counter() == messages); REQUIRE(test_sink->msg_counter() == messages);
REQUIRE(test_sink->flushed_msg_counter() == messages); REQUIRE(test_sink->flushed_msg_counter() == messages);
REQUIRE(test_sink->flushed_msg_counter() == messages); REQUIRE(test_sink->flushed_msg_counter() == messages);
} }
TEST_CASE("multi threads", "[async]") TEST_CASE("multi threads", "[async]")
...@@ -107,7 +104,6 @@ TEST_CASE("multi threads", "[async]") ...@@ -107,7 +104,6 @@ TEST_CASE("multi threads", "[async]")
REQUIRE(test_sink->flushed_msg_counter() == messages * n_threads); REQUIRE(test_sink->flushed_msg_counter() == messages * n_threads);
} }
TEST_CASE("to_file", "[async]") TEST_CASE("to_file", "[async]")
{ {
...@@ -136,5 +132,3 @@ TEST_CASE("to_file", "[async]") ...@@ -136,5 +132,3 @@ TEST_CASE("to_file", "[async]")
spdlog::drop("as"); spdlog::drop("as");
REQUIRE(count_lines("logs/async_test.log") == messages * n_threads); REQUIRE(count_lines("logs/async_test.log") == messages * n_threads);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment