Skip to content

Commit 111b9fe

Browse files
Fix test
1 parent 2230e38 commit 111b9fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p2p/kademlia/dht_batch_store_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func TestIterateBatchStore_NoCandidateNodes_ReturnsError(t *testing.T) {
2828
if err == nil {
2929
t.Fatalf("expected error, got nil")
3030
}
31-
if !strings.Contains(err.Error(), "no candidate nodes") {
31+
if !strings.Contains(err.Error(), "no eligible store peers") {
3232
t.Fatalf("unexpected error: %v", err)
3333
}
3434
}

0 commit comments

Comments
 (0)