diff options
| author | 2026-03-29 10:55:24 +0000 | |
|---|---|---|
| committer | 2026-03-29 10:55:24 +0000 | |
| commit | 9da262c92189e4007834bf2023f0c032f2a1a0d9 (patch) | |
| tree | 47eeae7b32fa1d24ab6cfdf942352ef7f566afc5 /commitquery | |
| parent | object/id: Nosec G505 for sha1 (diff) | |
| signature | No signature | |
object{,/type}: Fix up API shape v0.1.142
Diffstat (limited to 'commitquery')
| -rw-r--r-- | commitquery/ancestor_unit_test.go | 2 | ||||
| -rw-r--r-- | commitquery/mergebase_unit_test.go | 2 |
2 files changed, 2 insertions, 2 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") } 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") } |
