Browse Source

[tests] right

Simon Krajewski 1 năm trước cách đây
mục cha
commit
25972984a7
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;