]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - tests/mozilla/js1_2/regexp/toString.js
JavaScriptCore-576.tar.gz
[apple/javascriptcore.git] / tests / mozilla / js1_2 / regexp / toString.js
index 554b934efb5551983996bba232c60215645511a9..b08b772811596e74dc5dd6a19aee38697e7f58d7 100644 (file)
@@ -41,7 +41,7 @@
     // var re = new RegExp(); re.toString()
        var re = new RegExp();
        testcases[count++] = new TestCase ( SECTION, "var re = new RegExp(); re.toString()",
-                                           '//', re.toString());
+                                           '/(?:)/', re.toString());
 
     // re = /.+/; re.toString();
     re = /.+/;