浏览代码

[php] disable test for now (see #2042)

Simon Krajewski 10 年之前
父节点
当前提交
cb07af1568
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tests/unit/src/unit/issues/Issue2042.hx

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

@@ -4,6 +4,7 @@ class Issue2042 extends Test
 {
 	public function test()
 	{
+		#if !php
 		var m = haxe.rtti.Meta.getType(WithMeta);
 		t(m.someMeta != null);
 		eq(m.someMeta[0],1);
@@ -11,6 +12,7 @@ class Issue2042 extends Test
 		eq(m.otherMeta[0],2);
 		t(haxe.rtti.Meta.getFields(WithMeta).testing != null);
 		eq(haxe.rtti.Meta.getFields(WithMeta).testing.varMeta[0], 3);
+		#end
 	}
 }