From aa7490d18784df307533c8486d9ab4dadb897dad Mon Sep 17 00:00:00 2001 From: Jeeyong Um Date: Sun, 8 May 2022 01:18:08 +0800 Subject: [PATCH] Set eol to the test for overriding need_localtime --- tests/test_pattern_formatter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_pattern_formatter.cpp b/tests/test_pattern_formatter.cpp index 4d8459b2..76cac855 100644 --- a/tests/test_pattern_formatter.cpp +++ b/tests/test_pattern_formatter.cpp @@ -475,7 +475,7 @@ TEST_CASE("custom flags-exception", "[pattern_formatter]") TEST_CASE("override need_localtime", "[pattern_formatter]") { - auto formatter = std::make_shared(); + auto formatter = std::make_shared(spdlog::pattern_time_type::local, "\n"); formatter->add_flag('t', "time").set_pattern("%t> %v"); {