Fixed the number of expected class tests from a previous commit. Thanks to @bugbegone...
authorJohn Resig <jeresig@gmail.com>
Wed, 22 Sep 2010 16:35:42 +0000 (12:35 -0400)
committerJohn Resig <jeresig@gmail.com>
Wed, 22 Sep 2010 16:35:42 +0000 (12:35 -0400)
test/unit/attributes.js

index 3adb018..0372721 100644 (file)
@@ -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");