Ref c66a5e70: Synchronize unit tests with master

This commit is contained in:
Richard Gibson 2013-11-07 11:59:56 -05:00
parent 126d596b56
commit ba2a8fb01e

View File

@ -142,7 +142,7 @@ test("Data is not being set on comment and text nodes", function() {
}); });
test("jQuery.acceptData", function() { test("jQuery.acceptData", function() {
expect( 10 ); expect( 11 );
var flash, applet; var flash, applet;
@ -162,6 +162,7 @@ test("jQuery.acceptData", function() {
ok( !jQuery.acceptData( document.createComment( "" ) ), "comment" ); ok( !jQuery.acceptData( document.createComment( "" ) ), "comment" );
ok( !jQuery.acceptData( document.createTextNode( "" ) ), "text" ); ok( !jQuery.acceptData( document.createTextNode( "" ) ), "text" );
ok( !jQuery.acceptData( document.createDocumentFragment() ), "documentFragment" );
ok( jQuery.acceptData( ok( jQuery.acceptData(
jQuery( "#form" ).append( "<input id='nodeType'/><input id='nodeName'/>" )[ 0 ] ), jQuery( "#form" ).append( "<input id='nodeType'/><input id='nodeName'/>" )[ 0 ] ),