p2p: fix error message in test (#32804)

This commit is contained in:
Zach Brown 2025-09-30 19:30:47 +08:00 committed by GitHub
parent 9986270fbf
commit f9756bb885
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ func TestReadNodesCycle(t *testing.T) {
nodes := ReadNodes(iter, 10)
checkNodes(t, nodes, 3)
if iter.count != 10 {
t.Fatalf("%d calls to Next, want %d", iter.count, 100)
t.Fatalf("%d calls to Next, want %d", iter.count, 10)
}
}