aboutsummaryrefslogtreecommitdiff
path: root/commitquery/mergebase_unit_test.go
diff options
context:
space:
mode:
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")
}