浏览代码

disable test #8452 for cppia

Aleksandr Kuzmenko 5 年之前
父节点
当前提交
24d7e79e37
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      tests/unit/src/unit/TestMisc.hx

+ 2 - 1
tests/unit/src/unit/TestMisc.hx

@@ -599,9 +599,10 @@ class TestMisc extends Test {
 
 	static var nf1:Base = null;
 	static var nf2:{s:String} = null;
-
+#if !cppia //see https://github.com/HaxeFoundation/haxe/issues/9261
 	function testNullFieldAccess() {
 		eq("NPE", try nf1.s catch (e:Any) "NPE");
 		eq("NPE", try nf2.s catch (e:Any) "NPE");
 	}
+#end
 }