X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fmanipulation.js;h=44fafa92b1cb09eb3838b18dcf70989145abe546;hb=59802928566b6be3a66d65e77c2418fff37e6f5f;hp=75a1baa1f326e33961ad4e157aef9b7fda62a617;hpb=628e1564c48f2b4d18ed5af89ebed88b09d972d4;p=jquery.git
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js
index 75a1baa..44fafa9 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -659,7 +659,7 @@ test("val(Function)", function() {
})
var testHtml = function(valueObj) {
- expect(20);
+ expect(22);
jQuery.scriptorder = 0;
@@ -693,6 +693,10 @@ var testHtml = function(valueObj) {
equals( $div2.html("x" + insert).html(), "x" + insert, "Verify escaped insertion." );
equals( $div2.html(" " + insert).html(), " " + insert, "Verify escaped insertion." );
+ var map = jQuery("").html(valueObj(""));
+
+ equals( map[0].childNodes.length, 1, "The area was inserted." );
+ equals( map[0].firstChild.nodeName.toLowerCase(), "area", "The area was inserted." );
reset();