Fix typos found by codespell (#3011)

This commit is contained in:
Dimitri Papadopoulos Orfanos
2024-02-12 22:02:31 +01:00
committed by GitHub
parent 696db97f67
commit 47b7e7c736
3 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ protected:
};
struct custom_ex {};
#if !defined(SPDLOG_USE_STD_FORMAT) // std formt doesn't fully support tuntime strings
#if !defined(SPDLOG_USE_STD_FORMAT) // std format doesn't fully support runtime strings
TEST_CASE("default_error_handler", "[errors]") {
prepare_logdir();
spdlog::filename_t filename = SPDLOG_FILENAME_T(SIMPLE_LOG);

View File

@@ -152,7 +152,7 @@ TEST_CASE("file_event_handlers", "[file_helper]") {
helper.reopen(true);
events.clear();
}
// make sure that the file_helper destrcutor calls the close callbacks if needed
// make sure that the file_helper destructor calls the close callbacks if needed
REQUIRE(events == std::vector<flags>{flags::before_close, flags::after_close});
REQUIRE(file_contents(TEST_FILENAME) == "after_open\nbefore_close\n");
}