diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-08 15:34:56 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-08 15:41:50 +0200 |
commit | c9325cea0aa43f328644157dee4eafe3d7b45e6f (patch) | |
tree | 7c688b9cfd8acf45771193f41d69639f9a47dfab /test/buildtool/file_system/git_repo.test.cpp | |
parent | 0e024eb055e6e8272f419e898ae9eefd0085c34f (diff) | |
download | justbuild-c9325cea0aa43f328644157dee4eafe3d7b45e6f.tar.gz |
Name local variables using lower_case
...and private members using lower_case_
Diffstat (limited to 'test/buildtool/file_system/git_repo.test.cpp')
-rw-r--r-- | test/buildtool/file_system/git_repo.test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/buildtool/file_system/git_repo.test.cpp b/test/buildtool/file_system/git_repo.test.cpp index ae3ded41..4fb5c0cb 100644 --- a/test/buildtool/file_system/git_repo.test.cpp +++ b/test/buildtool/file_system/git_repo.test.cpp @@ -214,12 +214,12 @@ TEST_CASE("Single-threaded real repository local operations", "[git_repo]") { } SECTION("Get head commit") { - auto repo_wHead_path = TestUtils::CreateTestRepoWithCheckout(); - REQUIRE(repo_wHead_path); - auto repo_wHead = GitRepo::Open(*repo_wHead_path); - REQUIRE(repo_wHead); + auto repo_head_path = TestUtils::CreateTestRepoWithCheckout(); + REQUIRE(repo_head_path); + auto repo_head = GitRepo::Open(*repo_head_path); + REQUIRE(repo_head); - auto head_commit = repo_wHead->GetHeadCommit(logger); + auto head_commit = repo_head->GetHeadCommit(logger); REQUIRE(head_commit); CHECK(*head_commit == kRootCommit); } |