From ef617be24e928395844a3276bb3a7712ed288085 Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Tue, 23 Sep 2025 20:45:47 +0300 Subject: [PATCH] trie: align AllFFPrefix test assertion and message --- 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) } })