Set eol to the test for overriding need_localtime

This commit is contained in:
Jeeyong Um 2022-05-08 01:18:08 +08:00
parent c03c925e29
commit aa7490d187

View File

@ -475,7 +475,7 @@ TEST_CASE("custom flags-exception", "[pattern_formatter]")
TEST_CASE("override need_localtime", "[pattern_formatter]")
{
auto formatter = std::make_shared<spdlog::pattern_formatter>();
auto formatter = std::make_shared<spdlog::pattern_formatter>(spdlog::pattern_time_type::local, "\n");
formatter->add_flag<custom_test_flag>('t', "time").set_pattern("%t> %v");
{