summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/buildtool/file_system/git_repo.test.cpp2
-rw-r--r--test/other_tools/git_operations/git_repo_remote.test.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/buildtool/file_system/git_repo.test.cpp b/test/buildtool/file_system/git_repo.test.cpp
index 2663e9bd..73d37e1d 100644
--- a/test/buildtool/file_system/git_repo.test.cpp
+++ b/test/buildtool/file_system/git_repo.test.cpp
@@ -743,6 +743,8 @@ TEST_CASE("Multi-threaded fake repository operations", "[git_repo]") {
std::nullopt,
logger));
} break;
+ default:
+ REQUIRE(false);
}
},
id);
diff --git a/test/other_tools/git_operations/git_repo_remote.test.cpp b/test/other_tools/git_operations/git_repo_remote.test.cpp
index 69cfce34..f4837b47 100644
--- a/test/other_tools/git_operations/git_repo_remote.test.cpp
+++ b/test/other_tools/git_operations/git_repo_remote.test.cpp
@@ -400,6 +400,8 @@ TEST_CASE("Multi-threaded fake repository operations", "[git_repo_remote]") {
REQUIRE(fetched_commit);
CHECK(*fetched_commit == kRootCommit);
} break;
+ default:
+ REQUIRE(false);
}
},
id);