rem: test("show()", function() { expect(1); var pass = true, div = $("div"); div.show().each(function(){ if ( this.style.display == "none" ) pass = false; }); ok( pass, "Show" ); 
add: test("prev([String])", function() { expect(4); ok( $("#foo").prev()[0].id == "ap", "Simple prev check" ); ok( $("#foo").prev("p")[0].id == "ap", "Filtered prev check" ); ok( $("#foo").prev("div").length == 0, "Filtered prev check, no match" ); ok( $("#foo").prev("p, div")[0].id == "ap", "Multiple filters" ); 
context: test("show()", function() {	expect(1);	var pass = true, div = $("div");	div.show().each(function(){	  if ( this.style.display == "none" ) pass = false;	});	ok( pass, "Show" );});
meta: 3217	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3217/76e3a901530609d3c4a695ccb8a48251445c6861/core.js/buggy/test/unit/core.js