Index: test/mjsunit/regexp-compile.js |
diff --git a/test/mjsunit/regexp-compile.js b/test/mjsunit/regexp-compile.js |
index 6a24325e16dfbb3a96501b5c7c864aa91801a436..92c3f7b3dd62e5c69f38f9fbe0c071b96c1ec693 100644 |
--- a/test/mjsunit/regexp-compile.js |
+++ b/test/mjsunit/regexp-compile.js |
@@ -40,3 +40,5 @@ assertEquals(["x", "x"], re.exec("axyb")); |
re.compile("(y)"); |
assertEquals(["y", "y"], re.exec("axyb")); |
+ |
+assertEquals(2, re.compile.length); |