trie: align AllFFPrefix test assertion and message (#32719)

This commit is contained in:
VolodymyrBg 2025-09-24 05:36:56 +03:00 committed by Alvarez
parent 4b2d3c60bf
commit 22bce45a31

View file

@ -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)
} }
}) })