소스 검색

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";