rem: expected = "This is a normal link: Try them out:diveintomarkYahoo"; $('#yahoo').before($("#first, #mark")); ok( expected == $('#en').text(), "Insert jQuery before" ); 
add: expected = "This link has class=\"blog\": Simon Willison's WeblogTry them out:Yahoo"; $("#first, #yahoo").appendTo('#sap'); ok( expected == $('#sap').text(), "Check for appending of jQuery object" ); 
context: test("before(String|Element|Array&lt;Element&gt;|jQuery)", function() {	expect(4);	var expected = 'This is a normal link: bugaYahoo';	$('#yahoo').before('<b>buga</b>');	ok( expected == $('#en').text(), 'Insert String before' );		reset();	expected = "This is a normal link: Try them out:Yahoo";	$('#yahoo').before(document.getElementById('first'));	ok( expected == $('#en').text(), "Insert element before" );		reset();	expected = "This is a normal link: Try them out:diveintomarkYahoo";	$('#yahoo').before([document.getElementById('first'), document.getElementById('mark')]);	ok( expected == $('#en').text(), "Insert array of elements before" );		reset();	expected = "This is a normal link: Try them out:diveintomarkYahoo";	$('#yahoo').before($("#first, #mark"));	ok( expected == $('#en').text(), "Insert jQuery before" );});
meta: 1471	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1471/7d0a84193f539d85267d1458aba35a42d7dbd03b/coreTest.js/clean/src/jquery/coreTest.js