mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
Update t8n_test.go
This commit is contained in:
parent
cb333a11ea
commit
6915628f82
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue