From: John Resig Date: Wed, 22 Sep 2010 16:35:42 +0000 (-0400) Subject: Fixed the number of expected class tests from a previous commit. Thanks to @bugbegone... X-Git-Tag: 1.4.3rc1~84 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a32f4d7b6c197bcb521c7b0d351328f3821b6fee;p=jquery.git Fixed the number of expected class tests from a previous commit. Thanks to @bugbegone in 1f667aa035b3e4885d6b35fa9aa4990310f131af for the catch. --- diff --git a/test/unit/attributes.js b/test/unit/attributes.js index 3adb018df..037272112 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -473,7 +473,7 @@ test("addClass(Function)", function() { }); test("addClass(Function) with incoming value", function() { - expect(39); + expect(41); var div = jQuery("div"), old = div.map(function(){ return jQuery(this).attr("class"); @@ -546,7 +546,7 @@ test("removeClass(Function) - simple", function() { }); test("removeClass(Function) with incoming value", function() { - expect(39); + expect(41); var $divs = jQuery('div').addClass("test"), old = $divs.map(function(){ return jQuery(this).attr("class");