Commit a32f4d7b authored by John Resig's avatar John Resig

Fixed the number of expected class tests from a previous commit. Thanks to...

Fixed the number of expected class tests from a previous commit. Thanks to @bugbegone in 1f667aa0 for the catch.
parent 0b4b3ee8
...@@ -473,7 +473,7 @@ test("addClass(Function)", function() { ...@@ -473,7 +473,7 @@ test("addClass(Function)", function() {
}); });
test("addClass(Function) with incoming value", function() { test("addClass(Function) with incoming value", function() {
expect(39); expect(41);
var div = jQuery("div"), old = div.map(function(){ var div = jQuery("div"), old = div.map(function(){
return jQuery(this).attr("class"); return jQuery(this).attr("class");
...@@ -546,7 +546,7 @@ test("removeClass(Function) - simple", function() { ...@@ -546,7 +546,7 @@ test("removeClass(Function) - simple", function() {
}); });
test("removeClass(Function) with incoming value", function() { test("removeClass(Function) with incoming value", function() {
expect(39); expect(41);
var $divs = jQuery('div').addClass("test"), old = $divs.map(function(){ var $divs = jQuery('div').addClass("test"), old = $divs.map(function(){
return jQuery(this).attr("class"); return jQuery(this).attr("class");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment