Browse Source

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

Simon Krajewski 10 years ago
parent
commit
cb07af1568
1 changed files with 2 additions and 0 deletions
  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
 	}
 }