Added test of pattern_formatter::clone()

This commit is contained in:
gabime 2018-11-12 16:04:35 +02:00
parent cc7e122915
commit 7ce8ae72e8

View File

@ -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]")
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]")
} }
TEST_CASE("clone-formatter-2", "[pattern_formatter]") TEST_CASE("clone-formatter-2", "[pattern_formatter]")
{ {
using spdlog::pattern_time_type; using spdlog::pattern_time_type;