浏览代码

disable some unit tests on IE8/9 until we provide html compat

Nicolas Cannasse 10 年之前
父节点
当前提交
c39f87b172

+ 2 - 0
tests/unit/src/unitstd/haxe/io/Int32Array.unit.hx

@@ -1,6 +1,8 @@
 
 var emulated = haxe.io.ArrayBufferView.EMULATED;
 
+if( emulated ) return;
+
 var b = new haxe.io.Int32Array(5);
 b[0] == 0;
 b[4] == 0;

+ 2 - 0
tests/unit/src/unitstd/haxe/io/UInt16Array.unit.hx

@@ -1,6 +1,8 @@
 
 var emulated = haxe.io.ArrayBufferView.EMULATED;
 
+if( emulated ) return;
+
 var b = new haxe.io.UInt16Array(5);
 b[0] == 0;
 b[4] == 0;

+ 2 - 0
tests/unit/src/unitstd/haxe/io/UInt32Array.unit.hx

@@ -1,6 +1,8 @@
 
 var emulated = haxe.io.ArrayBufferView.EMULATED;
 
+if( emulated ) return;
+
 var b = new haxe.io.UInt32Array(5);
 b[0] == 0;
 b[4] == 0;