From 116314baf9157f102321ef458cefd5cbed19fd28 Mon Sep 17 00:00:00 2001 From: cui Date: Sat, 13 Jun 2026 01:38:45 +0800 Subject: [PATCH] core/vm: fix test error message (#35134) --- core/vm/instructions_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()))