Browse Source

[as3] disable namespaces tests

technically it's probably possible to support this by generating `use namespace` statements, but I can't be arsed
Dan Korostelev 6 năm trước cách đây
mục cha
commit
65579a367f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      tests/unit/src/unit/issues/Issue8227.hx

+ 2 - 2
tests/unit/src/unit/issues/Issue8227.hx

@@ -1,7 +1,7 @@
 package unit.issues;
 
 class Issue8227 extends unit.Test {
-	#if flash
+	#if (flash && !as3)
 	function test() {
 		var ns = new NsCls();
 		eq(ns.ns1v, 1);
@@ -17,7 +17,7 @@ class Issue8227 extends unit.Test {
 	#end
 }
 
-#if flash
+#if (flash && !as3)
 @:access(unit.Test)
 private class Child extends NsCls {
 	public function new(test:unit.Test) {