Fixed test when using std format

pull/3028/head
gabime 2 years ago
parent 32b2fa8877
commit 243a840da7

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

Loading…
Cancel
Save