From: Richard Gibson Date: Sun, 16 Dec 2012 04:42:24 +0000 (-0500) Subject: Resolve a763ae72 test failures X-Git-Tag: 1.9.0b1~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=30e2ffbeb869bb2f65ef139633c68a1c62f0e892;p=jquery.git Resolve a763ae72 test failures --- diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index fe9f6c203..35beb5267 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -475,10 +475,7 @@ var testAppend = function( valueObj ) { d.remove(); equal( jQuery("#nonnodes").contents().length, 3, "Check node,textnode,comment append cleanup worked" ); - $input = jQuery("").attr({ - "type": "checkbox", - "checked": true - }).appendTo("#testForm"); + $input = jQuery("").prop( "checked", true ).appendTo("#testForm"); equal( $input[ 0 ].checked, true, "A checked checkbox that is appended stays checked" ); $radioChecked = jQuery("input:radio[name='R1']").eq( 1 );