Browse Source

lastIndexOf() with negative startIndex is not specified

Aleksandr Kuzmenko 6 years ago
parent
commit
ad97d58f38
1 changed files with 0 additions and 2 deletions
  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("я", 3) == 3;
 s.lastIndexOf("я", 4) == 3;
 s.lastIndexOf("я", 4) == 3;
 s.lastIndexOf("я", 40) == 3;
 s.lastIndexOf("я", 40) == 3;
-s.lastIndexOf("я", -1) == -1;
-s.lastIndexOf("𠜎z", -1) == 0;
 
 
 // substr
 // substr
 var s:UnicodeString = "𠜎zяяw";
 var s:UnicodeString = "𠜎zяяw";