mirror of https://github.com/gabime/spdlog.git
Added cfg tests
This commit is contained in:
parent
8923922f30
commit
3bed78356e
|
@ -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]")
|
||||||
|
|
Loading…
Reference in New Issue