X-Git-Url: http://git.asbjorn.it/?p=jquery.git;a=blobdiff_plain;f=test%2Funit%2Fmanipulation.js;h=f0e2eaec2643820d9e5b68f853672e76164e2ec8;hp=739868bd7bf5d9d4b53e8f8cce78bb713d95dbd1;hb=0a0cff9d29c4bd559da689d96c532d06c03fce09;hpb=bbd3f4f3fe66fc4ce6c6db31a17a1c04037323be
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js
index 739868b..f0e2eae 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -883,6 +883,19 @@ test("jQuery.clone() (#8017)", function() {
equals( main.childNodes.length, clone.childNodes.length, "Simple child length to ensure a large dom tree copies correctly" );
});
+test("clone() (#8070)", function () {
+ expect(2);
+
+ jQuery('').appendTo('#main');
+ var selects = jQuery('.test8070');
+ selects.append('');
+
+ equals( selects[0].childNodes.length, 2, "First select got two nodes" );
+ equals( selects[1].childNodes.length, 2, "Second select got two nodes" );
+
+ selects.remove();
+});
+
test("clone()", function() {
expect(37);
equals( 'This is a normal link: Yahoo', jQuery('#en').text(), 'Assert text for #en' );