rlp: remove it.Count in tests

This commit is contained in:
Felix Lange 2026-02-13 21:27:59 +01:00
parent 934538de8c
commit ab057a97d6

View file

@ -68,9 +68,6 @@ func (test rawListTest[T]) run(t *testing.T) {
// check iterator // check iterator
it := rl.ContentIterator() it := rl.ContentIterator()
i := 0 i := 0
if count := it.Count(); count != test.length {
t.Fatalf("iterator has wrong Count %d, want %d", count, test.length)
}
for it.Next() { for it.Next() {
var item T var item T
if err := DecodeBytes(it.Value(), &item); err != nil { if err := DecodeBytes(it.Value(), &item); err != nil {