Index: test/webkit/fast/js/string-split-ignore-case.js |
diff --git a/test/webkit/declaration-in-block.js b/test/webkit/fast/js/string-split-ignore-case.js |
similarity index 87% |
copy from test/webkit/declaration-in-block.js |
copy to test/webkit/fast/js/string-split-ignore-case.js |
index 39c4fc06ce7958ba0d4c2f77e9faede8d67370d3..2c36aeeafb9ffa3d2ff562c37a13175a9fedbfca 100644 |
--- a/test/webkit/declaration-in-block.js |
+++ b/test/webkit/fast/js/string-split-ignore-case.js |
@@ -22,8 +22,7 @@ |
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
description( |
-"This test checks that declarations in an if block can be seen outside it." |
+'This test checks for a regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=6119">split() function ignores case insensitive modifier</a>.' |
); |
-if (0) { var b; } |
-var a = b; |
+shouldBe('"1s2S3".split(/s/i).toString()', '"1,2,3"'); |