Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add more tests for wrapMap
  • Loading branch information
markelog committed Dec 28, 2012
1 parent acb206a commit 4862eb4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/manipulation.js
Expand Up @@ -395,7 +395,7 @@ var testAppendForObject = function( valueObj, isFragment ) {

var testAppend = function( valueObj ) {

expect( 68 );
expect( 75 );

testAppendForObject( valueObj, false );
testAppendForObject( valueObj, true );
Expand Down Expand Up @@ -463,6 +463,7 @@ var testAppend = function( valueObj ) {
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 );
ok( jQuery.clean( ["<" + name + "/>"] ).length, name + " wrapped correctly" );
});

jQuery("#table colgroup").append( valueObj("<col/>") );
Expand Down

0 comments on commit 4862eb4

Please sign in to comment.