git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Rakefile to remove use of *nix specific commands
[jquery.git]
/
test
/
unit
/
attributes.js
diff --git
a/test/unit/attributes.js
b/test/unit/attributes.js
index
d7abbad
..
21d3d94
100644
(file)
--- a/
test/unit/attributes.js
+++ b/
test/unit/attributes.js
@@
-482,8
+482,10
@@
test("addClass(Function) with incoming value", function() {
});
div.addClass(function(i, val) {
});
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;
});
var pass = true;
@@
-553,8
+555,10
@@
test("removeClass(Function) with incoming value", function() {
});
$divs.removeClass(function(i, val) {
});
$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" );
});
ok( !$divs.is('.test'), "Remove Class" );