rem: test("$.each(Object,Function)", function() { expect(8); $.each( [0,1,2], function(i, n){ ok( i == n, "Check array iteration" ); });  $.each( [5,6,7], function(i, n){ ok( i == n - 5, "Check array iteration" ); });  $.each( { name: "name", lang: "lang" }, function(i, n){ ok( i == n, "Check object iteration" ); }); 
add: test("text(String)", function() { expect(1); ok( $("#foo").text("<div><b>Hello</b> cruel world!</div>")[0].innerHTML == "&lt;div&gt;&lt;b&gt;Hello&lt;/b&gt; cruel world!&lt;/div&gt;", "Check escaped text" ); 
context: test("$.each(Object,Function)", function() {	expect(8);	$.each( [0,1,2], function(i, n){		ok( i == n, "Check array iteration" );	});		$.each( [5,6,7], function(i, n){		ok( i == n - 5, "Check array iteration" );	});	 	$.each( { name: "name", lang: "lang" }, function(i, n){		ok( i == n, "Check object iteration" );	});});
meta: 1307	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1307/1ac9d6fbeed214d59ea5c31a87ff2c19bb08dbc8/core.js/clean/test/unit/core.js