mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
trie: align AllFFPrefix test assertion and message (#32719)
This commit is contained in:
parent
4074f745bd
commit
48c74f4593
1 changed files with 2 additions and 2 deletions
|
|
@ -1005,9 +1005,9 @@ func TestPrefixIteratorEdgeCases(t *testing.T) {
|
|||
count++
|
||||
}
|
||||
}
|
||||
// Should find at least the allFF key itself
|
||||
// Should find exactly the two keys with the all-0xff prefix
|
||||
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