mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Update test_pattern_formatter.cpp
This commit is contained in:
parent
db5af8ead1
commit
c844ea4423
@ -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");
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user