From ab057a97d65bf638ab2613c1f6bdefc443e15e58 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 13 Feb 2026 21:27:59 +0100 Subject: [PATCH] rlp: remove it.Count in tests --- rlp/raw_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/rlp/raw_test.go b/rlp/raw_test.go index 67e626ebf9..49ac3dcc62 100644 --- a/rlp/raw_test.go +++ b/rlp/raw_test.go @@ -68,9 +68,6 @@ func (test rawListTest[T]) run(t *testing.T) { // check iterator it := rl.ContentIterator() i := 0 - if count := it.Count(); count != test.length { - t.Fatalf("iterator has wrong Count %d, want %d", count, test.length) - } for it.Next() { var item T if err := DecodeBytes(it.Value(), &item); err != nil {