mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 06:32:06 +08:00
Set eol to the test for overriding need_localtime
This commit is contained in:
parent
c03c925e29
commit
aa7490d187
@ -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");
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user