Bläddra i källkod

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

Alexander Kuzmenko 6 år sedan
förälder
incheckning
16cbcad1ff
1 ändrade filer med 1 tillägg och 1 borttagningar
  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();