diff --git a/core/vm/instructions_test.go b/core/vm/instructions_test.go index 354d2ce5ab..a143b7d01a 100644 --- a/core/vm/instructions_test.go +++ b/core/vm/instructions_test.go @@ -724,7 +724,7 @@ func TestRandom(t *testing.T) { ) opRandom(&pc, evm, &ScopeContext{nil, stack, nil}) if have, want := stack.len(), 1; have != want { - t.Errorf("test '%v': want %d item(s) on stack, have %d: ", tt.name, have, want) + t.Errorf("test '%v': want %d item(s) on stack, have %d: ", tt.name, want, have) } actual := stack.pop() expected, overflow := uint256.FromBig(new(big.Int).SetBytes(tt.random.Bytes()))