rem: test("clone()", function() { expect(3); ok( 'This is a normal link: Yahoo' == $('#en').text(), 'Assert text for #en' ); var clone = $('#yahoo').clone(); ok( 'Try them out:Yahoo' == $('#first').append(clone).text(), 'Check for clone' ); ok( 'This is a normal link: Yahoo' == $('#en').text(), 'Reassert text for #en' ); 
add: test("after(String|Element|Array&lt;Element&gt;|jQuery)", function() { expect(4); var expected = 'This is a normal link: Yahoobuga'; $('#yahoo').after('<b>buga</b>'); ok( expected == $('#en').text(), 'Insert String after' );  reset(); expected = "This is a normal link: YahooTry them out:"; $('#yahoo').after(document.getElementById('first')); ok( expected == $('#en').text(), "Insert element after" );  reset(); expected = "This is a normal link: YahooTry them out:diveintomark"; $('#yahoo').after([document.getElementById('first'), document.getElementById('mark')]); ok( expected == $('#en').text(), "Insert array of elements after" );  reset(); expected = "This is a normal link: YahooTry them out:diveintomark"; $('#yahoo').after($("#first, #mark")); ok( expected == $('#en').text(), "Insert jQuery after" ); 
context: test("clone()", function() {	expect(3);	ok( 'This is a normal link: Yahoo' == $('#en').text(), 'Assert text for #en' );	var clone = $('#yahoo').clone();	ok( 'Try them out:Yahoo' == $('#first').append(clone).text(), 'Check for clone' );	ok( 'This is a normal link: Yahoo' == $('#en').text(), 'Reassert text for #en' );});
meta: 1471	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1471/200319ea6b6a59daebce1cfc1d330a9d52c208c0/coreTest.js/buggy/src/jquery/coreTest.js