rem: var x = $('#yahoo'); x.parent(); ok( 'Yahoo' == $('#yahoo').text(), 'Check for non-destructive behaviour' ); 
add: 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("end()", function() {	expect(3);	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' );});
meta: 1471	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1471/3728a8ac0494de7ccab48bfc69f5d71496ba64c2/coreTest.js/clean/src/jquery/coreTest.js