From 243a840da722b01e19443db2f876d20b3981cf09 Mon Sep 17 00:00:00 2001 From: gabime Date: Fri, 1 Sep 2023 17:39:49 +0300 Subject: [PATCH] Fixed test when using std format --- tests/test_ringbuffer_sink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_ringbuffer_sink.cpp b/tests/test_ringbuffer_sink.cpp index a54313fe..fd694213 100644 --- a/tests/test_ringbuffer_sink.cpp +++ b/tests/test_ringbuffer_sink.cpp @@ -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++; });