浏览代码

disable issue6276 tests for a few targets

Justin Donaldson 8 年之前
父节点
当前提交
0e2fca1bb2
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tests/unit/src/unit/issues/Issue6276.hx

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

@@ -2,9 +2,11 @@ package unit.issues;
 
 class Issue6276 extends unit.Test {
 	function test(){
+#if (!php7 && !java && !cs)
 		var s = "foo";
 		var indexOf = Reflect.field(s, "indexOf");
 		var pos = Reflect.callMethod(s, indexOf, ["o"]);
 		eq(pos, 1);
+#end
 	}
 }