Made it so that you no longer need to build jQuery in order to run the test suite (but you'll still need a checkout of QUnit and Sizzle, at least).
This commit is contained in:
parent
ba8938d444
commit
8effe3a7de
14 changed files with 141 additions and 115 deletions
|
@ -482,8 +482,10 @@ test("addClass(Function) with incoming value", function() {
|
|||
});
|
||||
|
||||
div.addClass(function(i, val) {
|
||||
equals( val, old[i], "Make sure the incoming value is correct." );
|
||||
return "test";
|
||||
if ( this.id !== "_firebugConsole" ) {
|
||||
equals( val, old[i], "Make sure the incoming value is correct." );
|
||||
return "test";
|
||||
}
|
||||
});
|
||||
|
||||
var pass = true;
|
||||
|
@ -553,8 +555,10 @@ test("removeClass(Function) with incoming value", function() {
|
|||
});
|
||||
|
||||
$divs.removeClass(function(i, val) {
|
||||
equals( val, old[i], "Make sure the incoming value is correct." );
|
||||
return "test";
|
||||
if ( this.id !== "_firebugConsole" ) {
|
||||
equals( val, old[i], "Make sure the incoming value is correct." );
|
||||
return "test";
|
||||
}
|
||||
});
|
||||
|
||||
ok( !$divs.is('.test'), "Remove Class" );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue