Sfoglia il codice sorgente

unspecify Utf8.sub outside of string range (causes error on Neko)

Nicolas Cannasse 11 anni fa
parent
commit
98e51052da
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      tests/unit/unitstd/haxe/Utf8.unit.hx

+ 3 - 1
tests/unit/unitstd/haxe/Utf8.unit.hx

@@ -35,4 +35,6 @@ haxe.Utf8.compare(haxe.Utf8.sub(str, 0, 2), "あé") == 0;
 haxe.Utf8.compare(haxe.Utf8.sub(str, 1, 2), "éい") == 0;
 haxe.Utf8.compare(haxe.Utf8.sub(str, 0, 0), "") == 0;
 haxe.Utf8.compare(haxe.Utf8.sub(str, 1, 0), "") == 0;
-haxe.Utf8.compare(haxe.Utf8.sub(str, 9, 0), "") == 0;
+
+// unspecify outside of range Utf8.sub
+// haxe.Utf8.compare(haxe.Utf8.sub(str, 9, 0), "") == 0;