Fixed test when using std format

This commit is contained in:
gabime 2023-09-01 17:39:49 +03:00
parent 32b2fa8877
commit 243a840da7

View File

@ -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++;
});