Skip to content

Commit fe2402d

Browse files
VolodymyrBgSahil-4555
authored andcommitted
trie: align AllFFPrefix test assertion and message (ethereum#32719)
1 parent efe1f77 commit fe2402d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

trie/iterator_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,9 +1005,9 @@ func TestPrefixIteratorEdgeCases(t *testing.T) {
10051005
count++
10061006
}
10071007
}
1008-
// Should find at least the allFF key itself
1008+
// Should find exactly the two keys with the all-0xff prefix
10091009
if count != 2 {
1010-
t.Errorf("Expected at least 1 result for all-0xff prefix, got %d", count)
1010+
t.Errorf("Expected 2 results for all-0xff prefix, got %d", count)
10111011
}
10121012
})
10131013

0 commit comments

Comments
 (0)