Skip to content

Commit f9756bb

Browse files
authored
p2p: fix error message in test (#32804)
1 parent 9986270 commit f9756bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p2p/enode/iter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func TestReadNodesCycle(t *testing.T) {
4545
nodes := ReadNodes(iter, 10)
4646
checkNodes(t, nodes, 3)
4747
if iter.count != 10 {
48-
t.Fatalf("%d calls to Next, want %d", iter.count, 100)
48+
t.Fatalf("%d calls to Next, want %d", iter.count, 10)
4949
}
5050
}
5151

0 commit comments

Comments
 (0)