mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Fix some spelling errors.
casese -> cases (1) chache -> cache (1) cirucal -> circular (1) dependecy -> dependency (1) detrmine -> determine (2) eavluate -> evaluate (1) exertnal -> external (1) ony -> only (1) registation -> registration (3) registring -> registering (2) regsistration -> registration (3) seperate -> separate (2) wit -> with (1) withe -> with (1)
This commit is contained in:
@@ -40,7 +40,7 @@ TEST_CASE("disable param evaluation", "[macros]")
|
||||
SPDLOG_TRACE("Test message {}", throw std::runtime_error("Should not be evaluated"));
|
||||
}
|
||||
|
||||
// ensure that even if right macro level is on- don't eavluate if the logger's level is not high enough
|
||||
// ensure that even if right macro level is on- don't evaluate if the logger's level is not high enough
|
||||
TEST_CASE("disable param evaluation2", "[macros]")
|
||||
{
|
||||
auto logger = std::make_shared<spdlog::logger>("test-macro");
|
||||
|
@@ -9,7 +9,7 @@ TEST_CASE("register_drop", "[registry]")
|
||||
spdlog::drop_all();
|
||||
spdlog::create<spdlog::sinks::null_sink_mt>(tested_logger_name);
|
||||
REQUIRE(spdlog::get(tested_logger_name) != nullptr);
|
||||
// Throw if registring existing name
|
||||
// Throw if registering existing name
|
||||
REQUIRE_THROWS_AS(spdlog::create<spdlog::sinks::null_sink_mt>(tested_logger_name), spdlog::spdlog_ex);
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ TEST_CASE("explicit register", "[registry]")
|
||||
auto logger = std::make_shared<spdlog::logger>(tested_logger_name, std::make_shared<spdlog::sinks::null_sink_st>());
|
||||
spdlog::register_logger(logger);
|
||||
REQUIRE(spdlog::get(tested_logger_name) != nullptr);
|
||||
// Throw if registring existing name
|
||||
// Throw if registering existing name
|
||||
REQUIRE_THROWS_AS(spdlog::create<spdlog::sinks::null_sink_mt>(tested_logger_name), spdlog::spdlog_ex);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user