ソースを参照

[tests] ignore failing test on Java/C#

see #6560
Simon Krajewski 7 年 前
コミット
ff3653f6e5
1 ファイル変更2 行追加0 行削除
  1. 2 0
      tests/unit/src/unit/issues/Issue6560.hx

+ 2 - 0
tests/unit/src/unit/issues/Issue6560.hx

@@ -2,11 +2,13 @@ package unit.issues;
 
 class Issue6560 extends unit.Test {
 	function test() {
+		#if (!cs && !java)
         function foo<F>(a:F):Array<F> {
 			if (false) foo(1);
             return if (a == null) [] else foo(null);
 		}
 		var bar:Array<Int> = foo(1);
 		eq(0, bar.length);
+		#end
 	}
 }