From 4cbc768aa7af1771b75aa936715fb8582ba25412 Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Mon, 9 Jun 2014 16:39:29 -0400 Subject: [PATCH] test for #129 --- tests/mithril-tests.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/mithril-tests.js b/tests/mithril-tests.js index 359c069b..2c58e475 100644 --- a/tests/mithril-tests.js +++ b/tests/mithril-tests.js @@ -500,6 +500,13 @@ function testMithril(mock) { }))); return count == 1 }) + test(function() { + //https://github.com/lhorie/mithril.js/issues/129 + var root = mock.document.createElement("div") + m.render(root, m("div", [["foo", "bar"], ["foo", "bar"], ["foo", "bar"]])); + m.render(root, m("div", ["asdf", "asdf2", "asdf3"])); + return true + }) //end m.render //m.redraw