Update t8n_test.go

This commit is contained in:
Felix Lange 2025-01-21 13:46:20 +01:00 committed by GitHub
parent cb333a11ea
commit 6915628f82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)
}
}