From: Oleg Date: Fri, 28 Dec 2012 16:06:04 +0000 (+0400) Subject: Add test for td append X-Git-Tag: 2.0.0b1~59^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=acb206a4886f53c3eb9628e17d699dbb1b96ef25;p=jquery.git Add test for td append --- diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index e1850a4f7..d5c35ec1b 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( 67 ); + expect( 68 ); 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".split(" "), function( i, name ) { + jQuery.each( "thead tbody tfoot colgroup caption tr td".split(" "), function( i, name ) { $table.append( valueObj( "<" + name + "/>" ) ); equal( $table.find( name ).length, 1, "Append " + name ); });