From: Oleg Date: Fri, 28 Dec 2012 16:27:59 +0000 (+0400) Subject: Add tests for th element X-Git-Tag: 2.0.0b1~59^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=72e9e91612347eab1c28596a34c0b53d2c36b150;p=jquery.git Add tests for th element --- diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 19e20dd06..d9b014187 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -395,7 +395,7 @@ var testAppendForObject = function( valueObj, isFragment ) { var testAppend = function( valueObj ) { - expect( 75 ); + expect( 77 ); testAppendForObject( valueObj, false ); testAppendForObject( valueObj, true ); @@ -460,7 +460,7 @@ var testAppend = function( valueObj ) { $table = jQuery("#table"); - jQuery.each( "thead tbody tfoot colgroup caption tr td".split(" "), function( i, name ) { + jQuery.each( "thead tbody tfoot colgroup caption tr th td".split(" "), function( i, name ) { $table.append( valueObj( "<" + name + "/>" ) ); equal( $table.find( name ).length, 1, "Append " + name ); ok( jQuery.clean( ["<" + name + "/>"] ).length, name + " wrapped correctly" );