mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-17 05:26:36 +00:00
p2p: fix error message in test (#32804)
This commit is contained in:
parent
9986270fbf
commit
f9756bb885
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue