Browse Source

[tests] do not explode all other targets

Cauê Waneck 11 years ago
parent
commit
ef130b1008
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/unit/issues/Issue2754.hx

+ 2 - 0
tests/unit/issues/Issue2754.hx

@@ -2,6 +2,7 @@ package unit.issues;
 
 class Issue2754 extends unit.Test
 {
+#if (cs || java)
 	public function testClass()
 	{
 		var tc = new TestClass();
@@ -127,6 +128,7 @@ class Issue2754 extends unit.Test
 		eq(tc.nullArrayInt[0], 42);
 		eq(tc.nullArrayNullInt[0], 441);
 	}
+#end
 
 	private static inline function complexGetNull<T>():Null<T>
 	{