Index: test/mjsunit/string-indexof-1.js |
diff --git a/test/mjsunit/string-indexof-1.js b/test/mjsunit/string-indexof-1.js |
index 366437a1a0a55cd5c8fa75439cbd8aa32faf8750..db3623f7c029cd4e55782fff38bd7cbed4231511 100644 |
--- a/test/mjsunit/string-indexof-1.js |
+++ b/test/mjsunit/string-indexof-1.js |
@@ -77,15 +77,6 @@ |
//single char pattern |
assertEquals(4, twoByteString.indexOf("\u0395")); |
-// test string with alignment traps |
-var alignmentString = "\u1122\u2211\u2222\uFF00\u00FF\u00FF"; |
-assertEquals(2, alignmentString.indexOf("\u2222")); |
-assertEquals(4, alignmentString.indexOf("\u00FF\u00FF")); |
- |
-var longAlignmentString = "\uFF00" + "\u00FF".repeat(10); |
-assertEquals(1, |
- longAlignmentString.indexOf("\u00FF".repeat(10))); |
- |
// Test complex string indexOf algorithms. Only trigger for long strings. |
// Long string that isn't a simple repeat of a shorter string. |