fixed missing eol in enforce logging test
This commit is contained in:
parent
ea49998a6e
commit
2e29c2a284
|
@ -235,7 +235,7 @@ TEST_CASE("enforce level", "[enforce logging]")
|
||||||
REQUIRE(oss.str().empty());
|
REQUIRE(oss.str().empty());
|
||||||
|
|
||||||
spdlog::default_logger()->log(spdlog::source_loc{}, spdlog::level::forceable{spdlog::level::info, true}, "should be logged");
|
spdlog::default_logger()->log(spdlog::source_loc{}, spdlog::level::forceable{spdlog::level::info, true}, "should be logged");
|
||||||
REQUIRE(oss.str() == "*** should be logged");
|
REQUIRE(oss.str() == "*** should be logged" + std::string(spdlog::details::os::default_eol));
|
||||||
|
|
||||||
spdlog::drop_all();
|
spdlog::drop_all();
|
||||||
spdlog::set_pattern("%v");
|
spdlog::set_pattern("%v");
|
||||||
|
|
Loading…
Reference in New Issue