Skip to content
Permalink
Browse files

Add tests for th element

  • Loading branch information
markelog committed Dec 28, 2012
1 parent 1490afe commit 72e9e91612347eab1c28596a34c0b53d2c36b150
Showing with 2 additions and 2 deletions.
  1. +2 −2 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" );

0 comments on commit 72e9e91

Please sign in to comment.
You can’t perform that action at this time.