Update test_pattern_formatter.cpp

This commit is contained in:
Gabi Melman 2019-06-14 01:30:43 +03:00 committed by GitHub
parent db5af8ead1
commit c844ea4423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,7 +257,7 @@ TEST_CASE("clone-formatter-2", "[pattern_formatter]")
// //
// Test source location formatting // Test source location formatting
// //
/*
TEST_CASE("short filename formatter-1", "[pattern_formatter]") TEST_CASE("short filename formatter-1", "[pattern_formatter]")
{ {
spdlog::pattern_formatter formatter("%s", spdlog::pattern_time_type::local, ""); spdlog::pattern_formatter formatter("%s", spdlog::pattern_time_type::local, "");
@ -301,3 +301,4 @@ TEST_CASE("full filename formatter", "[pattern_formatter]")
formatter.format(msg, formatted); formatter.format(msg, formatted);
REQUIRE(fmt::to_string(formatted) == "/a/b/c/d/myfile.cpp:123"); REQUIRE(fmt::to_string(formatted) == "/a/b/c/d/myfile.cpp:123");
} }
*/