瀏覽代碼

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);