Quellcode durchsuchen

lastIndexOf() with negative startIndex is not specified

Aleksandr Kuzmenko vor 6 Jahren
Ursprung
Commit
ad97d58f38
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
  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";