From: Anton M Date: Tue, 19 Oct 2010 09:14:07 +0000 (+0200) Subject: Update number of expected assertions in attribute tests X-Git-Tag: 1.4.4rc1~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F61%2Fhead;p=jquery.git Update number of expected assertions in attribute tests Followup to commit 97dfa0d5a85a32fe56aba837bbf2bc889b092d2b which had the side effect to break some attribute unit tests --- diff --git a/test/unit/attributes.js b/test/unit/attributes.js index c6007aacc..10f7b190f 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -512,7 +512,7 @@ test("addClass(Function)", function() { }); test("addClass(Function) with incoming value", function() { - expect(41); + expect(45); var div = jQuery("div"), old = div.map(function(){ return jQuery(this).attr("class"); @@ -585,7 +585,7 @@ test("removeClass(Function) - simple", function() { }); test("removeClass(Function) with incoming value", function() { - expect(41); + expect(45); var $divs = jQuery('div').addClass("test"), old = $divs.map(function(){ return jQuery(this).attr("class");