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: 1471	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1471/e3263063e4ef3d2e0ee6b74b9da573bf40e87668/coreTest.js/clean/src/jquery/coreTest.js