mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
Added test of pattern_formatter::clone()
This commit is contained in:
parent
cc7e122915
commit
7ce8ae72e8
@ -196,7 +196,6 @@ TEST_CASE("left_padded_max", "[pattern_formatter]")
|
||||
" Some message\n");
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("clone-default-formatter", "[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));
|
||||
}
|
||||
|
||||
|
||||
TEST_CASE("clone-formatter", "[pattern_formatter]")
|
||||
{
|
||||
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]")
|
||||
{
|
||||
using spdlog::pattern_time_type;
|
||||
|
Loading…
Reference in New Issue
Block a user