diff options
author | John Resig <jeresig@gmail.com> | 2007-07-29 23:10:00 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2007-07-29 23:10:00 +0000 |
commit | d8e9f0c616402ed1b4dab244ff5f8680ed0a415f (patch) | |
tree | 03661a5006b1e93c94777c24e95128a417dde4f9 | |
parent | 17949afc34d2fa7626bcc739b5008d32ee411660 (diff) | |
download | jquery-d8e9f0c616402ed1b4dab244ff5f8680ed0a415f.tar.gz jquery-d8e9f0c616402ed1b4dab244ff5f8680ed0a415f.zip |
Fixed failing test for Safari 2.
-rw-r--r-- | src/jquery/coreTest.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery/coreTest.js b/src/jquery/coreTest.js index db8b58d63..905d92a4f 100644 --- a/src/jquery/coreTest.js +++ b/src/jquery/coreTest.js @@ -140,7 +140,7 @@ test("add(String|Element|Array)", function() { expect(7); isSet( $("#sndp").add("#en").add("#sap").get(), q("sndp", "en", "sap"), "Check elements from document" ); isSet( $("#sndp").add( $("#en")[0] ).add( $("#sap") ).get(), q("sndp", "en", "sap"), "Check elements from document" ); - ok( $([]).add($("#form")[0].elements).length > 13, "Check elements from array" ); + ok( $([]).add($("#form")[0].elements).length >= 13, "Check elements from array" ); var x = $([]).add($("<p id='x1'>xxx</p>")).add($("<p id='x2'>xxx</p>")); ok( x[0].id == "x1", "Check on-the-fly element1" ); |