p2p: fix error message in test (#32804)

This commit is contained in:
Zach Brown 2025-09-30 19:30:47 +08:00 committed by Alvarez
parent 7a7bab7ed0
commit 3c03458857

View file

@ -45,7 +45,7 @@ func TestReadNodesCycle(t *testing.T) {
nodes := ReadNodes(iter, 10) nodes := ReadNodes(iter, 10)
checkNodes(t, nodes, 3) checkNodes(t, nodes, 3)
if iter.count != 10 { 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)
} }
} }