diff options
Diffstat (limited to 'src/jquery/coreTest.js')
-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" ); |