diff --git a/cmd/evm/t8n_test.go b/cmd/evm/t8n_test.go index 2141dfa59d..78f3998561 100644 --- a/cmd/evm/t8n_test.go +++ b/cmd/evm/t8n_test.go @@ -720,7 +720,7 @@ func TestEvmRunRegEx(t *testing.T) { t.Fatalf("test %d: could not compile regular expression: %v", i, err) } if !re.MatchString(have) { - t.Fatalf("test %d, output wrong, have \n%v\nwant\n%v\n", i, string(have), re) + t.Fatalf("test %d, output wrong, have \n%v\nwant\n%v\n", i, have, re) } } }