From 343ced8de3a8bc1a96f9333c2f2e584111a32cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Faruk=20Irmak?= Date: Fri, 24 Jan 2025 15:33:04 +0300 Subject: [PATCH] fix TestIteratorNoDups --- trie/iterator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trie/iterator_test.go b/trie/iterator_test.go index 761d812bdfcc..909e74fd488f 100644 --- a/trie/iterator_test.go +++ b/trie/iterator_test.go @@ -296,7 +296,7 @@ func TestUnionIterator(t *testing.T) { } func TestIteratorNoDups(t *testing.T) { - var tr Trie + tr := newEmpty() for _, val := range testdata1 { tr.Update([]byte(val.k), []byte(val.v)) }