From b2f15fdbaa7556cdf68e12bd02173e8ef62417dd Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 12 Sep 2024 13:12:57 +0200 Subject: switch: add default branches ... to ensure we're not adding new cases without noticing. --- test/other_tools/git_operations/git_repo_remote.test.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/other_tools/git_operations/git_repo_remote.test.cpp') 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); -- cgit v1.2.3