trie: align AllFFPrefix test assertion and message (#32719)
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run

This commit is contained in:
VolodymyrBg 2025-09-24 05:36:56 +03:00 committed by GitHub
parent 4074f745bd
commit 48c74f4593
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)
} }
}) })