From: Anton M Date: Tue, 19 Oct 2010 09:14:07 +0000 (+0200) Subject: Update number of expected assertions in attribute tests X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=4fcfee4369d184d26ef819c34412fb8d9b09962c 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 c6007aa..10f7b19 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");