Browse Source

disable test #4481 for jvm

Aleksandr Kuzmenko 6 năm trước cách đây
mục cha
commit
19167a20e9
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      tests/unit/src/unit/issues/Issue4481.hx

+ 2 - 1
tests/unit/src/unit/issues/Issue4481.hx

@@ -2,11 +2,12 @@ package unit.issues;
 
 class Issue4481 extends unit.Test {
 	static var s:String = null;
-
+#if !jvm
 	function test() {
 		switch s {
 			case 'a': assert();
 			case _: eq(null, s);
 		}
 	}
+#end
 }