X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjquery%2FcoreTest.js;h=05fd026d7ab3fe89c7ebb4f1c2f8b0f43131377f;hb=cb828f3dab6ec8439ac111246346a8d4b3205fed;hp=049c4cc9751754c3571568f075f35fd60f84914b;hpb=2897b1bd2383031b6764192dc1ccb1d1205139a3;p=jquery.git diff --git a/src/jquery/coreTest.js b/src/jquery/coreTest.js index 049c4cc..05fd026 100644 --- a/src/jquery/coreTest.js +++ b/src/jquery/coreTest.js @@ -356,7 +356,7 @@ test("wrap(String|Element)", function() { }); test("append(String|Element|Array<Element>|jQuery)", function() { - expect(12); + expect(13); var defaultText = 'Try them out:' var result = $('#first').append('buga'); ok( result.text() == defaultText + 'buga', 'Check if text appending works' ); @@ -404,6 +404,10 @@ test("append(String|Element|Array<Element>|jQuery)", function() { ok( pass, "Test for appending a DOM node to the contents of an IFrame" ); + reset(); + $('#select1').appendTo('#foo'); + t( 'Append select', '#foo select', ['select1'] ); + }); test("appendTo(String|Element|Array<Element>|jQuery)", function() {