Commit ba2a8fb0 authored by Richard Gibson's avatar Richard Gibson

Ref c66a5e70: Synchronize unit tests with master

parent 126d596b
...@@ -142,7 +142,7 @@ test("Data is not being set on comment and text nodes", function() { ...@@ -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() { ...@@ -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 ] ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment