Pārlūkot izejas kodu

fixed jQuery test

Andy Li 10 gadi atpakaļ
vecāks
revīzija
b9c9ae9d28
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  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);
         });
     }