From 6915628f82ea88d4f60ceaa815d2b5707919b457 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 21 Jan 2025 13:46:20 +0100 Subject: [PATCH] Update t8n_test.go --- cmd/evm/t8n_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/evm/t8n_test.go b/cmd/evm/t8n_test.go index fc829eba49..2141dfa59d 100644 --- a/cmd/evm/t8n_test.go +++ b/cmd/evm/t8n_test.go @@ -706,7 +706,7 @@ func TestEvmRunRegEx(t *testing.T) { if err != nil { t.Fatalf("test %d: could not compile regular expression: %v", i, err) } - if !re.MatchString(string(have)) { + if !re.Match(have) { t.Fatalf("test %d, output wrong, have \n%v\nwant\n%v\n", i, string(have), re) } }