aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/manipulation.js
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2012-12-28 20:27:59 +0400
committerOleg <markelog@gmail.com>2012-12-28 20:27:59 +0400
commit72e9e91612347eab1c28596a34c0b53d2c36b150 (patch)
tree0737679517e1b7840d0cca0107068001bb8a0111 /test/unit/manipulation.js
parent1490afe693949bd6b030f9a3b65010d9d9d3f80c (diff)
downloadjquery-72e9e91612347eab1c28596a34c0b53d2c36b150.tar.gz
jquery-72e9e91612347eab1c28596a34c0b53d2c36b150.zip
Add tests for th element
Diffstat (limited to 'test/unit/manipulation.js')
-rw-r--r--test/unit/manipulation.js4
1 files changed, 2 insertions, 2 deletions
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" );