diff options
Diffstat (limited to 'commitquery/ancestor_unit_test.go')
| -rw-r--r-- | commitquery/ancestor_unit_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commitquery/ancestor_unit_test.go b/commitquery/ancestor_unit_test.go index cab0cc2f..8cb147a6 100644 --- a/commitquery/ancestor_unit_test.go +++ b/commitquery/ancestor_unit_test.go @@ -29,7 +29,7 @@ func ancestorCommitBody(tree objectid.ObjectID, parents ...objectid.ObjectID) [] // ancestorTagBody serializes one minimal annotated tag body. func ancestorTagBody(target objectid.ObjectID, targetType objecttype.Type) []byte { - targetName, ok := objecttype.Name(targetType) + targetName, ok := targetType.Name() if !ok { panic("invalid tag target type") } |
