aboutsummaryrefslogtreecommitdiff
path: root/reachability
diff options
context:
space:
mode:
Diffstat (limited to 'reachability')
-rw-r--r--reachability/unit_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reachability/unit_test.go b/reachability/unit_test.go
index 61794a5b..a06df9da 100644
--- a/reachability/unit_test.go
+++ b/reachability/unit_test.go
@@ -49,7 +49,7 @@ func commitBody(tree objectid.ObjectID, parents ...objectid.ObjectID) []byte {
}
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")
}