rlp: fix TestIterator error message argument order

This commit is contained in:
Weixie Cui 2026-04-17 21:01:09 +08:00
parent eb67d61933
commit 43d9e4778b

View file

@ -66,7 +66,7 @@ func TestIterator(t *testing.T) {
i++
}
if exp := 2; i != exp {
t.Errorf("count wrong, expected %d got %d", i, exp)
t.Errorf("count wrong, expected %d got %d", exp, i)
}
}