diff options
Diffstat (limited to 'test')
4 files changed, 6 insertions, 6 deletions
diff --git a/test/buildtool/build_engine/expression/linked_map.test.cpp b/test/buildtool/build_engine/expression/linked_map.test.cpp index ecb36b92..358ac229 100644 --- a/test/buildtool/build_engine/expression/linked_map.test.cpp +++ b/test/buildtool/build_engine/expression/linked_map.test.cpp @@ -126,7 +126,7 @@ TEST_CASE("Zero copies", "[linked_map]") { for (int i{0}; i < kCount; ++i) { auto key = std::to_string(i); REQUIRE(map->contains(key)); - // underlaying map's initializer_list produces a single copy + // underlying map's initializer_list produces a single copy CHECK(map->at(key).Count() == 1); } } @@ -157,7 +157,7 @@ TEST_CASE("Zero copies", "[linked_map]") { } } - SECTION("Via underlaying map and emplace") { + SECTION("Via underlying map and emplace") { for (int i{0}; i < kCount; ++i) { map_t::underlying_map_t update{}; update.emplace(std::to_string(i), CopyCounter()); diff --git a/test/buildtool/multithreading/task.test.cpp b/test/buildtool/multithreading/task.test.cpp index 4d74b844..c39067ed 100644 --- a/test/buildtool/multithreading/task.test.cpp +++ b/test/buildtool/multithreading/task.test.cpp @@ -257,7 +257,7 @@ TEST_CASE("Task can be executed and doesn't steal contents", "[task]") { TEST_CASE("Task moving from named object can be executed", "[task]") { // Constructing Tasks from named objects using Task{std::move(named_object)} - // is only a way to explicitely express that the constructor from Task that + // is only a way to explicitly express that the constructor from Task that // will be called will treat `named_object` as an rvalue (temporary object). // We could accomplish the same by using `Task t{Type{args}};` where `Type` // is the type of the callable object. @@ -282,7 +282,7 @@ TEST_CASE("Task moving from named object can be executed", "[task]") { t_add_three(); // External data must have been affected by side effect but in this - // case `add_three` is a moved-from object so there is no guarrantee + // case `add_three` is a moved-from object so there is no guarantee // about the data it holds CHECK(num == initial_value + 3); } diff --git a/test/other_tools/git_operations/critical_git_ops.test.cpp b/test/other_tools/git_operations/critical_git_ops.test.cpp index 0e28e73e..04faa6b9 100644 --- a/test/other_tools/git_operations/critical_git_ops.test.cpp +++ b/test/other_tools/git_operations/critical_git_ops.test.cpp @@ -100,7 +100,7 @@ class TestUtilsMP { static inline std::atomic<int> counter = 0; }; -TEST_CASE("Crtitical git operations", "[critical_git_op_map]") { +TEST_CASE("Critical git operations", "[critical_git_op_map]") { // setup the repos needed auto prefix = TestUtilsMP::GetUniqueTestDir(); REQUIRE(prefix); diff --git a/test/other_tools/just_mr/create_test_archives.cpp b/test/other_tools/just_mr/create_test_archives.cpp index 031ca1ab..2f4327b7 100644 --- a/test/other_tools/just_mr/create_test_archives.cpp +++ b/test/other_tools/just_mr/create_test_archives.cpp @@ -98,7 +98,7 @@ auto main() -> int { // 1. move to correct directory { auto anchor = FileSystemManager::ChangeDirectory(tmp_dir->GetPath()); - // 2. create the archvies wrt to current directory + // 2. create the archives wrt to current directory std::optional<std::string> res{std::nullopt}; res = ArchiveOps::CreateArchive( ArchiveType::kArchiveTypeZip, "zip_repo.zip", "root"); |