Clean up test for #1222 a bit (#1223)

Since @lhorie asked nicely.
This commit is contained in:
Pat Cavit 2016-08-05 14:49:16 -07:00 committed by GitHub
parent 27b1fdabed
commit 4b340ecd75

View file

@ -13,12 +13,12 @@ o.spec("render", function() {
})
o("overwrites existing content", function() {
var vnodes = [{tag: "a", text: null}]
var vnodes = []
root.appendChild($window.document.createElement("div"));
render(root, vnodes)
o(root.childNodes.length).equals(1)
o(root.childNodes.length).equals(0)
})
})