Index: test/mjsunit/regexp-compile.js |
diff --git a/test/mjsunit/regexp-compile.js b/test/mjsunit/regexp-compile.js |
index 6f8e75196d456afdd3782fd21598c93539d1bd0f..6a24325e16dfbb3a96501b5c7c864aa91801a436 100644 |
--- a/test/mjsunit/regexp-compile.js |
+++ b/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")); |