From ba2a8fb01efc321524a3600ba7623fabd7d12af2 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Thu, 7 Nov 2013 11:59:56 -0500 Subject: [PATCH] Ref c66a5e70: Synchronize unit tests with master --- test/unit/data.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/data.js b/test/unit/data.js index 6aace8a20..05fc5f193 100644 --- a/test/unit/data.js +++ b/test/unit/data.js @@ -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( "" )[ 0 ] ),