From 968048ced6920fe79ece0e481f1c30bac42012fc Mon Sep 17 00:00:00 2001 From: gabime Date: Mon, 25 Sep 2023 16:29:32 +0300 Subject: [PATCH] Fixed test --- tests/test_source_location.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_source_location.cpp b/tests/test_source_location.cpp index 4f84cf17..d810d340 100644 --- a/tests/test_source_location.cpp +++ b/tests/test_source_location.cpp @@ -11,10 +11,9 @@ TEST_CASE("test_source_location", "[source_location]") { auto oss_sink = std::make_shared(oss); spdlog::logger oss_logger("oss", oss_sink); oss_logger.set_pattern("%s:%# %v"); - oss_logger.info("Hello {}", "source location"); REQUIRE(oss.str() == - std::string("test_source_location.cpp:16 Hello source location") + default_eol); + std::string("test_source_location.cpp:14 Hello source location") + default_eol); } #endif