aboutsummaryrefslogtreecommitdiff
path: root/network/protocol/v0v1/server/advertise_test.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 10:22:19 +0000
committerGravatar Runxi Yu2026-03-29 10:22:19 +0000
commitcdac77529a3f7416843b1d455d413c9b0f21cfff (patch)
tree274775de36c302716f43efdaffbb00ca5f3070f9 /network/protocol/v0v1/server/advertise_test.go
parentobject/id: Split files (diff)
signatureNo signature
object/id: Zero is a property of the algorithm v0.1.140
Diffstat (limited to 'network/protocol/v0v1/server/advertise_test.go')
-rw-r--r--network/protocol/v0v1/server/advertise_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/protocol/v0v1/server/advertise_test.go b/network/protocol/v0v1/server/advertise_test.go
index 3aac7056..3ad7a725 100644
--- a/network/protocol/v0v1/server/advertise_test.go
+++ b/network/protocol/v0v1/server/advertise_test.go
@@ -93,7 +93,7 @@ func TestAdvertiseRefsWritesNoRefsCapabilitiesLine(t *testing.T) {
got := out.String()
- want := objectid.Zero(algo).String() + " capabilities^{}\x00report-status object-format=" + algo.String() + "\n"
+ want := algo.Zero().String() + " capabilities^{}\x00report-status object-format=" + algo.String() + "\n"
if !strings.Contains(got, want) {
t.Fatalf("unexpected no-refs advertisement %q", got)
}