Browse Source

fixed jQuery test

Andy Li 10 năm trước cách đây
mục cha
commit
b9c9ae9d28
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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);
         });
     }