aboutsummaryrefslogtreecommitdiff
path: root/reachability/unit_test.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-05-20 16:52:22 +0000
committerGravatar Runxi Yu2026-05-20 16:52:22 +0000
commit7e1f61e1e6ce9c09fef68be6818d4c7162b54fa8 (patch)
tree583713861f5df7a05fdb93d172545cc1ae8fdd25 /reachability/unit_test.go
parentref/store: More bikeshedding (diff)
signatureNo signature
reachability: CheckConnected should get a strict option
Diffstat (limited to 'reachability/unit_test.go')
-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 5be7f6fb..469c79ff 100644
--- a/reachability/unit_test.go
+++ b/reachability/unit_test.go
@@ -380,7 +380,7 @@ func TestCheckConnectedReturnsConcreteMissingObject(t *testing.T) {
r := reachability.New(objectfetch.New(store), nil)
- err = r.CheckConnected(reachability.DomainCommits, nil, map[objectid.ObjectID]struct{}{commit: {}})
+ err = r.CheckConnected(reachability.DomainCommits, nil, map[objectid.ObjectID]struct{}{commit: {}}, false)
if err == nil {
t.Fatal("expected error")
}