]> source.dussan.org Git - jquery.git/commitdiff
Update number of expected assertions in attribute tests 61/head
authorAnton M <haskell_noob-github@yahoo.de>
Tue, 19 Oct 2010 09:14:07 +0000 (11:14 +0200)
committerAnton M <haskell_noob-github@yahoo.de>
Tue, 19 Oct 2010 09:14:07 +0000 (11:14 +0200)
Followup to commit 97dfa0d5a85a32fe56aba837bbf2bc889b092d2b which
had the side effect to break some attribute unit tests

test/unit/attributes.js

index c6007aacc8ab21df33757f1b2e970199baa3af18..10f7b190f364d5072bab76a3914431141335683c 100644 (file)
@@ -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");