diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-09-12 13:12:57 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-09-12 15:02:01 +0200 |
commit | b2f15fdbaa7556cdf68e12bd02173e8ef62417dd (patch) | |
tree | 5bda4a6d6262017b17946251e2de30ef2924b2b6 /test | |
parent | fdd8fa78b7d788211338b3ec51296a1f28fd5003 (diff) | |
download | justbuild-b2f15fdbaa7556cdf68e12bd02173e8ef62417dd.tar.gz |
switch: add default branches
... to ensure we're not adding new cases without noticing.
Diffstat (limited to 'test')
-rw-r--r-- | test/buildtool/file_system/git_repo.test.cpp | 2 | ||||
-rw-r--r-- | test/other_tools/git_operations/git_repo_remote.test.cpp | 2 |
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); |