mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Ref c66a5e70
: Synchronize unit tests with master
This commit is contained in:
parent
126d596b56
commit
ba2a8fb01e
@ -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 ] ),
|
||||||
|
Loading…
Reference in New Issue
Block a user