فهرست منبع

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);
         });
     }