Browse Source

[as3] fixed a test for #8075 (closes #8120)

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

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

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