diff options
author | jeresig <jeresig@gmail.com> | 2010-03-23 12:12:16 -0400 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-03-23 12:12:16 -0400 |
commit | 8effe3a7dee91c833cc1774646da9d743600c64c (patch) | |
tree | 1d8c9b10b5a7431ffb9c5c70cf4654e7c98d9438 /test/unit/attributes.js | |
parent | ba8938d444b9a49bdfb27213826ba108145c2e50 (diff) | |
download | jquery-8effe3a7dee91c833cc1774646da9d743600c64c.tar.gz jquery-8effe3a7dee91c833cc1774646da9d743600c64c.zip |
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).
Diffstat (limited to 'test/unit/attributes.js')
-rw-r--r-- | test/unit/attributes.js | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js index d7abbad35..21d3d94bc 100644 --- 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) { - 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" ); |