소스 검색

disable test for `null.nonExistent()` on lua and as3

Alexander Kuzmenko 8 년 전
부모
커밋
ef4cb9a543
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      tests/unit/src/unit/issues/Issue4988.hx

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

@@ -10,7 +10,9 @@ class Issue4988 extends Test {
 				var d:{i:Null<Int>} = null;
 				value = (d.i > 0);
 				(null:Dynamic).nonExistent();
+				#if !(lua || as3)
 				null.nonExistent();
+				#end
 				t(false);
 			} catch(e:Dynamic) {
 				t(true);