mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fixed the number of expected class tests from a previous commit. Thanks to @bugbegone in 1f667aa035 for the catch.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user