trie: align AllFFPrefix test assertion and message

This commit is contained in:
VolodymyrBg 2025-09-23 20:45:47 +03:00 committed by GitHub
parent 1cd004871b
commit ef617be24e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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