X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fdata.js;h=8fb7f35adefcdc1fe15c965449ad1578461b61be;hb=b9f5e2b97458f89cbcac3a333ba95b0eac568d49;hp=c6ef843a12bdce2afc474e7b131479a2dff2ef44;hpb=5b38439011799ae53156d137305d9440e0cddb0a;p=jquery.git diff --git a/test/unit/data.js b/test/unit/data.js index c6ef843..8fb7f35 100644 --- a/test/unit/data.js +++ b/test/unit/data.js @@ -338,18 +338,12 @@ test("data-* attributes", function() { num++; } - // TODO: Remove this hack which was introduced for 1.5.1 - num--; - equals( num, check.length, "Make sure that the right number of properties came through." ); for ( var prop in obj2 ) { num2++; } - // TODO: Remove this hack which was introduced for 1.5.1 - num2--; - equals( num2, check.length, "Make sure that the right number of properties came through." ); child.attr("data-other", "newvalue");