From d88c8e20aebd9408df0306e97dffc2896950342d Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 20 Feb 2026 22:59:14 +0800 Subject: *: Replace repo with testRepo --- object/blob_parse_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'object/blob_parse_test.go') diff --git a/object/blob_parse_test.go b/object/blob_parse_test.go index ad0f7ef3..ea0a279e 100644 --- a/object/blob_parse_test.go +++ b/object/blob_parse_test.go @@ -11,11 +11,11 @@ import ( func TestBlobParseFromGit(t *testing.T) { testgit.ForEachAlgorithm(t, func(t *testing.T, algo objectid.Algorithm) { - repo := testgit.NewBareRepo(t, algo) + testRepo := testgit.NewBareRepo(t, algo) body := []byte("hello\nblob\n") - blobID := repo.HashObject(t, "blob", body) + blobID := testRepo.HashObject(t, "blob", body) - rawBody := repo.CatFile(t, "blob", blobID) + rawBody := testRepo.CatFile(t, "blob", blobID) blob, err := object.ParseBlob(rawBody) if err != nil { t.Fatalf("ParseBlob: %v", err) -- cgit v1.3.1-10-gc9f91