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" ); }); 
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" ); 
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" );	});});
6056	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6056/1ac9d6fbeed214d59ea5c31a87ff2c19bb08dbc8/core.js/buggy/test/unit/core.js