mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Fixed test when using std format
This commit is contained in:
@@ -19,7 +19,7 @@ TEST_CASE("test_drain", "[ringbuffer_sink]")
|
|||||||
|
|
||||||
int counter = 0;
|
int counter = 0;
|
||||||
sink->drain([&](std::string_view msg) {
|
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++;
|
counter++;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user