X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fmanipulation.js;h=e6e6c8d9c5098c8efa9c54c56a382b89c3772585;hb=d74389997106b02cf513f573a0d7197ecc511514;hp=1e69340b81bdb971e6bc653abb3dc9940170e82d;hpb=54bd004e53b4d89e9e7e7533f11c23ff99f70d73;p=jquery.git diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 1e69340..e6e6c8d 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -851,7 +851,7 @@ test("clone() on XML nodes", function() { } var testHtml = function(valueObj) { - expect(24); + expect(26); jQuery.scriptorder = 0; @@ -868,6 +868,9 @@ var testHtml = function(valueObj) { equals( div.children().length, 2, "Make sure two child nodes exist." ); equals( div.children().children().length, 1, "Make sure that a grandchild exists." ); + equals( jQuery("
").html(valueObj(" "))[0].innerHTML, " ", "Make sure entities are passed through correctly." ); + equals( jQuery("
").html(valueObj("&"))[0].innerHTML, "&", "Make sure entities are passed through correctly." ); + reset(); // using contents will get comments regular, text, and comment nodes var j = jQuery("#nonnodes").contents();