diff --git a/rlp/iterator_test.go b/rlp/iterator_test.go index 275d4371c7..95e37722a3 100644 --- a/rlp/iterator_test.go +++ b/rlp/iterator_test.go @@ -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) } }