Ver código fonte

[tests] right

Simon Krajewski 1 ano atrás
pai
commit
25972984a7
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      tests/unit/src/unit/issues/Issue11054.hx

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

@@ -40,6 +40,7 @@ private class GreetRobot extends Robot<IGreetRobot> {
 }
 
 class Issue11054 extends Test {
+	#if jvm
 	function test() {
 		var robot1 = new MathRobot();
 		var robot2 = new GreetRobot(robot1);
@@ -55,6 +56,7 @@ class Issue11054 extends Test {
 		});
 		t(called);
 	}
+	#end
 
 	static function add(a:Int, b:Int):Int {
 		return a + b;