X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=test%2Funit%2Fmanipulation.js;h=e6e6c8d9c5098c8efa9c54c56a382b89c3772585;hb=abcc1a76ee2a6733177b2cd104bc32cee5443ec4;hp=1e69340b81bdb971e6bc653abb3dc9940170e82d;hpb=532bec4c694532acbe2e14ad3b6ff72a4da90be0;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();