瀏覽代碼

lastIndexOf() with negative startIndex is not specified

Aleksandr Kuzmenko 6 年之前
父節點
當前提交
ad97d58f38
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      tests/unit/src/unitstd/UnicodeString.unit.hx

+ 0 - 2
tests/unit/src/unitstd/UnicodeString.unit.hx

@@ -64,8 +64,6 @@ s.lastIndexOf("я", 2) == 2;
 s.lastIndexOf("я", 3) == 3;
 s.lastIndexOf("я", 4) == 3;
 s.lastIndexOf("я", 40) == 3;
-s.lastIndexOf("я", -1) == -1;
-s.lastIndexOf("𠜎z", -1) == 0;
 
 // substr
 var s:UnicodeString = "𠜎zяяw";