aboutsummaryrefslogtreecommitdiff
path: root/commitquery/mergebase_unit_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 /commitquery/mergebase_unit_test.go
parentobject/id: Nosec G505 for sha1 (diff)
signatureNo signature
object{,/type}: Fix up API shape v0.1.142
Diffstat (limited to 'commitquery/mergebase_unit_test.go')
-rw-r--r--commitquery/mergebase_unit_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commitquery/mergebase_unit_test.go b/commitquery/mergebase_unit_test.go
index 2ce9795c..4db4f548 100644
--- a/commitquery/mergebase_unit_test.go
+++ b/commitquery/mergebase_unit_test.go
@@ -30,7 +30,7 @@ func commitBody(tree objectid.ObjectID, parents ...objectid.ObjectID) []byte {
// tagBody serializes one minimal annotated tag body.
func tagBody(target objectid.ObjectID, targetType objecttype.Type) []byte {
- targetName, ok := objecttype.Name(targetType)
+ targetName, ok := targetType.Name()
if !ok {
panic("invalid tag target type")
}