X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fdata.js;h=8fb7f35adefcdc1fe15c965449ad1578461b61be;hb=14e9da51f96a7a9b1a5c239c32f4abe20eb2b795;hp=c6ef843a12bdce2afc474e7b131479a2dff2ef44;hpb=2ed81708bdacfd4b97b77baef67ad8b75205dd20;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");