]> source.dussan.org Git - jquery.git/commitdiff
keep manipulation.js assertions consistent
authorRichard Gibson <richard.gibson@gmail.com>
Fri, 30 Nov 2012 21:11:51 +0000 (16:11 -0500)
committerRichard Gibson <richard.gibson@gmail.com>
Fri, 30 Nov 2012 21:11:51 +0000 (16:11 -0500)
test/unit/manipulation.js

index f0cdfa346b48b7a1da8864dbf80f1145de96d606..4a980b2499c3a3ce7ad8fb565f38cb0144a8d311 100644 (file)
@@ -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("<div/>").append("option<area/>")[0].childNodes.length, 2, "HTML-string with leading text should be processed correctly" );
+       equal( jQuery("<div/>").append( valueObj("option<area/>") )[0].childNodes.length, 2, "HTML-string with leading text should be processed correctly" );
 };
 
 test("append(String|Element|Array<Element>|jQuery)", function() {