mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
trie: align AllFFPrefix test assertion and message
This commit is contained in:
parent
1cd004871b
commit
ef617be24e
1 changed files with 2 additions and 2 deletions
|
|
@ -1005,9 +1005,9 @@ func TestPrefixIteratorEdgeCases(t *testing.T) {
|
||||||
count++
|
count++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Should find at least the allFF key itself
|
// Should find exactly the two keys with the all-0xff prefix
|
||||||
if count != 2 {
|
if count != 2 {
|
||||||
t.Errorf("Expected at least 1 result for all-0xff prefix, got %d", count)
|
t.Errorf("Expected 2 results for all-0xff prefix, got %d", count)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue