Skip to content

Commit

Permalink
fix travis/phantom tests
Browse files Browse the repository at this point in the history
  • Loading branch information
uberesch committed Feb 1, 2016
1 parent 2d44164 commit c407d42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/non-string.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ test("coerce numbers to strings in children array", function (assert) {
var rightNode = h("div", [ "clicked ", 1337, " times" ])
var rootNode = createElement(leftNode)
var newRoot = patch(rootNode, diff(leftNode, rightNode))
assert.equal(newRoot.toString(), '<div>clicked 1337 times</div>')
assert.strictEqual(
newRoot.outerHTML || newRoot.toString(),
'<div>clicked 1337 times</div>'
)
assert.end()
})

0 comments on commit c407d42

Please sign in to comment.