diff options
| author | 2026-02-20 22:59:14 +0800 | |
|---|---|---|
| committer | 2026-02-20 22:59:14 +0800 | |
| commit | d88c8e20aebd9408df0306e97dffc2896950342d (patch) | |
| tree | 8e137f37fdd9ea673bd622a2b9c9873cd89278fb /internal/testgit/repo_cat_file.go | |
| parent | objectid: Use _test package for tests (diff) | |
| signature | No signature | |
*: Replace repo with testRepo
Diffstat (limited to 'internal/testgit/repo_cat_file.go')
| -rw-r--r-- | internal/testgit/repo_cat_file.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/testgit/repo_cat_file.go b/internal/testgit/repo_cat_file.go index c905521f..9cc56db6 100644 --- a/internal/testgit/repo_cat_file.go +++ b/internal/testgit/repo_cat_file.go @@ -7,7 +7,7 @@ import ( ) // CatFile returns raw output from git cat-file. -func (repo *TestRepo) CatFile(tb testing.TB, mode string, id objectid.ObjectID) []byte { +func (testRepo *TestRepo) CatFile(tb testing.TB, mode string, id objectid.ObjectID) []byte { tb.Helper() - return repo.RunBytes(tb, "cat-file", mode, id.String()) + return testRepo.RunBytes(tb, "cat-file", mode, id.String()) } |
