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