Browse Source

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

Alexander Kuzmenko 8 years ago
parent
commit
ef4cb9a543
1 changed files with 2 additions and 0 deletions
  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;
 				var d:{i:Null<Int>} = null;
 				value = (d.i > 0);
 				value = (d.i > 0);
 				(null:Dynamic).nonExistent();
 				(null:Dynamic).nonExistent();
+				#if !(lua || as3)
 				null.nonExistent();
 				null.nonExistent();
+				#end
 				t(false);
 				t(false);
 			} catch(e:Dynamic) {
 			} catch(e:Dynamic) {
 				t(true);
 				t(true);