Browse Source

[as3] disabled a test #8075 for as3 (#8120)

Alexander Kuzmenko 6 years ago
parent
commit
4a32cf1576
1 changed files with 3 additions and 1 deletions
  1. 3 1
      tests/unit/src/unit/issues/Issue8075.hx

+ 3 - 1
tests/unit/src/unit/issues/Issue8075.hx

@@ -1,12 +1,14 @@
 package unit.issues;
 
 class Issue8075 extends unit.Test {
+#if !as3
 	function test() {
-		var expect = #if (static && !as3) 0 #else null #end;
+		var expect = #if static 0 #else null #end;
 		var a = [];
 		a.push(1);
 		a.pop();
 		a[2] = 2;
 		eq(expect, a[0]);
 	}
+#end
 }