From a32f4d7b6c197bcb521c7b0d351328f3821b6fee Mon Sep 17 00:00:00 2001 From: John Resig Date: Wed, 22 Sep 2010 12:35:42 -0400 Subject: [PATCH] Fixed the number of expected class tests from a previous commit. Thanks to @bugbegone in 1f667aa035b3e4885d6b35fa9aa4990310f131af for the catch. --- test/unit/attributes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/attributes.js b/test/unit/attributes.js index 3adb018..0372721 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"); -- 1.7.10.4