2
0
Эх сурвалжийг харах

lastIndexOf() with negative startIndex is not specified

Aleksandr Kuzmenko 6 жил өмнө
parent
commit
ad97d58f38

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