mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Fixed test when using std format
This commit is contained in:
parent
32b2fa8877
commit
243a840da7
@ -19,7 +19,7 @@ TEST_CASE("test_drain", "[ringbuffer_sink]")
|
||||
|
||||
int counter = 0;
|
||||
sink->drain([&](std::string_view msg) {
|
||||
REQUIRE(msg == fmt::format("*** {}{}", counter + 1, spdlog::details::os::default_eol));
|
||||
REQUIRE(msg == spdlog::fmt_lib::format("*** {}{}", counter + 1, spdlog::details::os::default_eol));
|
||||
counter++;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user