Added cfg tests

This commit is contained in:
gabime 2020-09-27 02:10:52 +03:00
parent 8923922f30
commit 3bed78356e

View File

@ -153,8 +153,8 @@ TEST_CASE("level-not-set-test4", "[cfg]")
auto l2 = spdlog::create<spdlog::sinks::test_sink_st>("l2"); auto l2 = spdlog::create<spdlog::sinks::test_sink_st>("l2");
REQUIRE(l1->level() == spdlog::level::trace); REQUIRE(l1->level() == spdlog::level::trace);
// REQUIRE(l2->level() == spdlog::level::warn); REQUIRE(l2->level() == spdlog::level::warn);
// REQUIRE(spdlog::default_logger()->level() == spdlog::level::warn); REQUIRE(spdlog::default_logger()->level() == spdlog::level::warn);
} }
TEST_CASE("level-not-set-test5", "[cfg]") TEST_CASE("level-not-set-test5", "[cfg]")