From 48c74f45939c5bf748d62ad9166d9a9d1c3677f3 Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Wed, 24 Sep 2025 05:36:56 +0300 Subject: [PATCH] trie: align AllFFPrefix test assertion and message (#32719) --- trie/iterator_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trie/iterator_test.go b/trie/iterator_test.go index f1451cef90..3e0ef126be 100644 --- a/trie/iterator_test.go +++ b/trie/iterator_test.go @@ -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) } })