Simon Krajewski 10 anni fa
parent
commit
78cd9e99e6
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      tests/unit/src/unit/TestBytes.hx

+ 2 - 0
tests/unit/src/unit/TestBytes.hx

@@ -106,6 +106,7 @@ class TestBytes extends Test {
 		eq(input.readAll().toString(), "One é accent");
 		eq(input.readAll().toString(), "One é accent");
 	}
 	}
 
 
+	#if !php // https://github.com/HaxeFoundation/haxe/issues/4060
 	function testFastGet() {
 	function testFastGet() {
 		var b = haxe.io.Bytes.alloc(10);
 		var b = haxe.io.Bytes.alloc(10);
 		var bd = b.getData();
 		var bd = b.getData();
@@ -126,6 +127,7 @@ class TestBytes extends Test {
 		eq(fget(bd3, 0), 0xC3);
 		eq(fget(bd3, 0), 0xC3);
 		eq(fget(bd3, 1), 0xA9);
 		eq(fget(bd3, 1), 0xA9);
 	}
 	}
+	#end
 
 
 	function testBytesDataEquality () {
 	function testBytesDataEquality () {
 		var b1 = haxe.io.Bytes.ofString("AB");
 		var b1 = haxe.io.Bytes.ofString("AB");