瀏覽代碼

fixed jQuery test

Andy Li 10 年之前
父節點
當前提交
b9c9ae9d28
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      tests/unit/src/unit/TestJQuery.hx

+ 3 - 2
tests/unit/src/unit/TestJQuery.hx

@@ -11,8 +11,9 @@ class TestJQuery extends Test {
     }
 
     function testRenamedStaticFields() {
-        JQuery.eachStatic([1], function(i, e) {
-            eq(i, 1);
+        JQuery.eachStatic([123], function(i, e) {
+            eq(i, 0);
+            eq(e, 123);
         });
     }