summaryrefslogtreecommitdiff
path: root/test/buildtool/file_system/git_repo.test.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-10-08 15:34:56 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-08 15:41:50 +0200
commitc9325cea0aa43f328644157dee4eafe3d7b45e6f (patch)
tree7c688b9cfd8acf45771193f41d69639f9a47dfab /test/buildtool/file_system/git_repo.test.cpp
parent0e024eb055e6e8272f419e898ae9eefd0085c34f (diff)
downloadjustbuild-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.cpp10
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);
}