Fixed the number of expected class tests from a previous commit. Thanks to @bugbegone in 1f667aa035 for the catch.

This commit is contained in:
John Resig 2010-09-22 12:35:42 -04:00
parent 0b4b3ee8a5
commit a32f4d7b6c

View 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");