Index: test/webkit/fast/js/string-split-double-empty.js |
diff --git a/test/webkit/debugger.js b/test/webkit/fast/js/string-split-double-empty.js |
similarity index 85% |
copy from test/webkit/debugger.js |
copy to test/webkit/fast/js/string-split-double-empty.js |
index 8bc980a505fdda590d8e7ee75bb69f41878af95a..f7c0cbc11178c485fc8b200745aa98182b66595f 100644 |
--- a/test/webkit/debugger.js |
+++ b/test/webkit/fast/js/string-split-double-empty.js |
@@ -22,8 +22,8 @@ |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
description( |
-"This file tests whether the 'debugger' statement throws a syntax error. (IE respects 'debugger' as a statement that behaves like a breakpoint)." |
+'This test checks for a regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=44600">split() function returns wrong answer for second empty split</a>.' |
); |
-debugger |
-debugger; |
+shouldBe('"".split(/s+/)', '[""]'); |
+shouldBe('"".split(/s+/)', '[""]'); |