From c9325cea0aa43f328644157dee4eafe3d7b45e6f Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 8 Oct 2024 15:34:56 +0200 Subject: Name local variables using lower_case ...and private members using lower_case_ --- test/buildtool/file_system/git_repo.test.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/buildtool/file_system/git_repo.test.cpp') 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); } -- cgit v1.2.3