Commit 7ce8ae72 authored by gabime's avatar gabime

Added test of pattern_formatter::clone()

parent cc7e1229
...@@ -196,7 +196,6 @@ TEST_CASE("left_padded_max", "[pattern_formatter]") ...@@ -196,7 +196,6 @@ TEST_CASE("left_padded_max", "[pattern_formatter]")
" Some message\n"); " Some message\n");
} }
TEST_CASE("clone-default-formatter", "[pattern_formatter]") TEST_CASE("clone-default-formatter", "[pattern_formatter]")
{ {
auto formatter_1 = std::make_shared<spdlog::pattern_formatter>(); auto formatter_1 = std::make_shared<spdlog::pattern_formatter>();
...@@ -227,7 +226,6 @@ TEST_CASE("clone-default-formatter2", "[pattern_formatter]") ...@@ -227,7 +226,6 @@ TEST_CASE("clone-default-formatter2", "[pattern_formatter]")
REQUIRE( fmt::to_string(formatted_1) == fmt::to_string(formatted_2)); REQUIRE( fmt::to_string(formatted_1) == fmt::to_string(formatted_2));
} }
TEST_CASE("clone-formatter", "[pattern_formatter]") TEST_CASE("clone-formatter", "[pattern_formatter]")
{ {
auto formatter_1 = std::make_shared<spdlog::pattern_formatter>("%D %X [%] [%n] %v"); auto formatter_1 = std::make_shared<spdlog::pattern_formatter>("%D %X [%] [%n] %v");
...@@ -243,8 +241,6 @@ TEST_CASE("clone-formatter", "[pattern_formatter]") ...@@ -243,8 +241,6 @@ TEST_CASE("clone-formatter", "[pattern_formatter]")
} }
TEST_CASE("clone-formatter-2", "[pattern_formatter]") TEST_CASE("clone-formatter-2", "[pattern_formatter]")
{ {
using spdlog::pattern_time_type; using spdlog::pattern_time_type;
......
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