瀏覽代碼

remove improper tests for setProperty

Mockey 9 年之前
父節點
當前提交
f00909ed4c
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      tests/unit/src/unitstd/Reflect.unit.hx

+ 0 - 4
tests/unit/src/unitstd/Reflect.unit.hx

@@ -48,10 +48,6 @@ Reflect.field(x, "c") == "foo";
 var c = new C2();
 Reflect.setProperty(c, "v", "bar");
 c.v == "bar";
-//Reflect.setProperty(c, "v2", "bar2");
-//c.v2 == "bar";
-Reflect.setProperty(c, "func2", function() return "x");
-Reflect.field(c, "func2")() == "x";
 Reflect.setProperty(c, "propAcc", "abc");
 #if !as3
 // not supported on AS3