haikuwebkit/LayoutTests/js/dom/string-split-double-empty-e...

12 lines
294 B
Plaintext

This test checks for a regression against split() function returns wrong answer for second empty split.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS "".split(/s+/) is [""]
PASS "".split(/s+/) is [""]
PASS successfullyParsed is true
TEST COMPLETE