diff options
Diffstat (limited to 'deps/v8/test/mjsunit/regexp-compile.js')
-rw-r--r-- | deps/v8/test/mjsunit/regexp-compile.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/v8/test/mjsunit/regexp-compile.js b/deps/v8/test/mjsunit/regexp-compile.js index 6f8e75196..6a24325e1 100644 --- a/deps/v8/test/mjsunit/regexp-compile.js +++ b/deps/v8/test/mjsunit/regexp-compile.js @@ -27,16 +27,16 @@ // Test that we don't cache the result of a regexp match across a // compile event. -var re = /x/; +var re = /x/; assertEquals("a.yb", "axyb".replace(re, ".")); -re.compile("y") +re.compile("y"); assertEquals("ax.b", "axyb".replace(re, ".")); re.compile("(x)"); -assertEquals("x,x", re.exec("axyb")); +assertEquals(["x", "x"], re.exec("axyb")); re.compile("(y)"); -assertEquals("y,y", re.exec("axyb")); +assertEquals(["y", "y"], re.exec("axyb")); |