diff options
author | Oleg <markelog@gmail.com> | 2012-12-28 20:16:28 +0400 |
---|---|---|
committer | Oleg <markelog@gmail.com> | 2012-12-28 20:16:28 +0400 |
commit | 4862eb43e3c1b9d428bd64db50c08c6a6d6e01fd (patch) | |
tree | 8ac35eba64ba07939f7ebe5d370f3845fa4f6ca4 /test/unit/manipulation.js | |
parent | acb206a4886f53c3eb9628e17d699dbb1b96ef25 (diff) | |
download | jquery-4862eb43e3c1b9d428bd64db50c08c6a6d6e01fd.tar.gz jquery-4862eb43e3c1b9d428bd64db50c08c6a6d6e01fd.zip |
Add more tests for wrapMap
Diffstat (limited to 'test/unit/manipulation.js')
-rw-r--r-- | test/unit/manipulation.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index d5c35ec1b..19e20dd06 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( 68 ); + expect( 75 ); testAppendForObject( valueObj, false ); testAppendForObject( valueObj, true ); @@ -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/>") ); |