aboutsummaryrefslogtreecommitdiff
path: root/object/store/loose/helpers_test.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 10:55:24 +0000
committerGravatar Runxi Yu2026-03-29 10:55:24 +0000
commit9da262c92189e4007834bf2023f0c032f2a1a0d9 (patch)
tree47eeae7b32fa1d24ab6cfdf942352ef7f566afc5 /object/store/loose/helpers_test.go
parentobject/id: Nosec G505 for sha1 (diff)
signatureNo signature
object{,/type}: Fix up API shape v0.1.142
Diffstat (limited to 'object/store/loose/helpers_test.go')
-rw-r--r--object/store/loose/helpers_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/object/store/loose/helpers_test.go b/object/store/loose/helpers_test.go
index e69c7e7a..97cec9d7 100644
--- a/object/store/loose/helpers_test.go
+++ b/object/store/loose/helpers_test.go
@@ -48,7 +48,7 @@ func expectedRawObject(t *testing.T, testRepo *testgit.TestRepo, id objectid.Obj
typeName := testRepo.Run(t, "cat-file", "-t", id.String())
- ty, ok := objecttype.ParseName(typeName)
+ ty, ok := objecttype.Parse(typeName)
if !ok {
t.Fatalf("ParseName(%q) failed", typeName)
}