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/other_tools/git_operations/git_repo_remote.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/other_tools/git_operations/git_repo_remote.test.cpp')
-rw-r--r-- | test/other_tools/git_operations/git_repo_remote.test.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
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 d1efe97c..39f0bd8a 100644 --- a/test/other_tools/git_operations/git_repo_remote.test.cpp +++ b/test/other_tools/git_operations/git_repo_remote.test.cpp @@ -269,26 +269,26 @@ TEST_CASE("Single-threaded fake repository operations", "[git_repo_remote]") { SECTION("Fetch with refspec into repository") { // set repo to fetch into - auto path_fetch_wRefspec = TestUtils::GetRepoPath(); - auto repo_fetch_wRefspec = GitRepoRemote::InitAndOpen( - path_fetch_wRefspec, /*is_bare=*/true); - REQUIRE(repo_fetch_wRefspec); + auto path_fetch_refspec = TestUtils::GetRepoPath(); + auto repo_fetch_refspec = GitRepoRemote::InitAndOpen( + path_fetch_refspec, /*is_bare=*/true); + REQUIRE(repo_fetch_refspec); // check commit is not there before fetch CHECK_FALSE( - *repo_fetch_wRefspec->CheckCommitExists(kRootCommit, logger)); + *repo_fetch_refspec->CheckCommitExists(kRootCommit, logger)); // fetch all - REQUIRE(repo_fetch_wRefspec->FetchViaTmpRepo(storage_config.Get(), - *repo_path, - "master", - {}, - "git", - {}, - logger)); + REQUIRE(repo_fetch_refspec->FetchViaTmpRepo(storage_config.Get(), + *repo_path, + "master", + {}, + "git", + {}, + logger)); // check commit is there after fetch - CHECK(*repo_fetch_wRefspec->CheckCommitExists(kRootCommit, logger)); + CHECK(*repo_fetch_refspec->CheckCommitExists(kRootCommit, logger)); } } |