mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +00:00
p2p: fix error message in test (#32804)
This commit is contained in:
parent
7a7bab7ed0
commit
3c03458857
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