diff options
Diffstat (limited to 'deps/v8/test/mjsunit/harmony/string-matchAll.js')
-rw-r--r-- | deps/v8/test/mjsunit/harmony/string-matchAll.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/harmony/string-matchAll.js b/deps/v8/test/mjsunit/harmony/string-matchAll.js index e9b39ba46c3..e3b1d5c224d 100644 --- a/deps/v8/test/mjsunit/harmony/string-matchAll.js +++ b/deps/v8/test/mjsunit/harmony/string-matchAll.js @@ -36,7 +36,7 @@ TestNoMatch('a', 'b'); function TestGlobalRegex(regex_or_string) { - const iter = 'ab'.matchAll(/./g); + const iter = 'ab'.matchAll(regex_or_string); let next_result = iter.next(); assertEquals(['a'], next_result.value); assertFalse(next_result.done); |