diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-08 12:34:05 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-08 15:41:50 +0200 |
commit | ab9ff1405f9dd27addb6106e6d6e3ea45c730cc4 (patch) | |
tree | b7f2c3787752fb16f73b16e9e3343d2bf5e59d0f /test/buildtool/file_system/git_repo.test.cpp | |
parent | 6f03f36201fa79f3802f3235779ec5a451287e21 (diff) | |
download | justbuild-ab9ff1405f9dd27addb6106e6d6e3ea45c730cc4.tar.gz |
Name constexpr variables using kCamelCase.
Diffstat (limited to 'test/buildtool/file_system/git_repo.test.cpp')
-rw-r--r-- | test/buildtool/file_system/git_repo.test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/buildtool/file_system/git_repo.test.cpp b/test/buildtool/file_system/git_repo.test.cpp index fbe92a85..ae3ded41 100644 --- a/test/buildtool/file_system/git_repo.test.cpp +++ b/test/buildtool/file_system/git_repo.test.cpp @@ -611,7 +611,7 @@ TEST_CASE("Multi-threaded fake repository operations", "[git_repo]") { threads.reserve(kNumThreads); SECTION("Lookups in the same ODB") { - constexpr int NUM_CASES = 10; + constexpr int kNumCases = 10; for (int id{}; id < kNumThreads; ++id) { threads.emplace_back( [&storage_config, @@ -621,7 +621,7 @@ TEST_CASE("Multi-threaded fake repository operations", "[git_repo]") { &starting_signal](int tid) { starting_signal.wait(false); // cases based on thread number - switch (tid % NUM_CASES) { + switch (tid % kNumCases) { case 0: { auto remote_repo = GitRepo::Open(remote_cas); REQUIRE(remote_repo); |