rem: 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: ok( 'Yahoo' == $('#yahoo').parent().end().text(), 'Check for end' ); ok( $('#yahoo').end(), 'Check for end with nothing to end' );  var x = $('#yahoo'); x.parent(); ok( 'Yahoo' == $('#yahoo').text(), 'Check for non-destructive behaviour' ); 
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: 2798	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2798/3728a8ac0494de7ccab48bfc69f5d71496ba64c2/coreTest.js/buggy/src/jquery/coreTest.js