]> source.dussan.org Git - jquery.git/commitdiff
Ref c66a5e70: Synchronize unit tests with master
authorRichard Gibson <richard.gibson@gmail.com>
Thu, 7 Nov 2013 16:59:56 +0000 (11:59 -0500)
committerRichard Gibson <richard.gibson@gmail.com>
Thu, 7 Nov 2013 16:59:56 +0000 (11:59 -0500)
test/unit/data.js

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