Index: test/webkit/regexp-norepeat.js |
diff --git a/test/webkit/resources/standalone-post.js b/test/webkit/regexp-norepeat.js |
similarity index 90% |
copy from test/webkit/resources/standalone-post.js |
copy to test/webkit/regexp-norepeat.js |
index d157e78bfa084329e2ec1a9b7d6ad456e904c152..bab6020193de79f29d3fb0c7040601eef677924c 100644 |
--- a/test/webkit/resources/standalone-post.js |
+++ b/test/webkit/regexp-norepeat.js |
@@ -21,6 +21,10 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-wasPostTestScriptParsed = true; |
+description( |
+'Test for https://bugs.webkit.org/show_bug.cgi?id=46077' |
+); |
-finishJSTest(); |
+var re = /^b|^cd/; |
+var str = "abcd"; |
+shouldBe('re.test(str)', 'false'); |