From: Richard Gibson Date: Fri, 30 Nov 2012 21:11:51 +0000 (-0500) Subject: keep manipulation.js assertions consistent X-Git-Tag: 1.9.0b1~69 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b382af685a3f590d03be7a9dc790a657c7b33f99;p=jquery.git keep manipulation.js assertions consistent --- diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index f0cdfa346..4a980b249 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -441,7 +441,7 @@ var testAppend = function(valueObj) { equal( $radioChecked[0].checked, true, "Reappending radios uphold which radio is checked" ); equal( $radioUnchecked[0].checked, false, "Reappending radios uphold not being checked" ); - equal( jQuery("
").append("option")[0].childNodes.length, 2, "HTML-string with leading text should be processed correctly" ); + equal( jQuery("
").append( valueObj("option") )[0].childNodes.length, 2, "HTML-string with leading text should be processed correctly" ); }; test("append(String|Element|Array|jQuery)", function() {