From 08a6638926bab905277c2d60c4dd68e9beb91724 Mon Sep 17 00:00:00 2001 From: spacejack Date: Sun, 30 Apr 2017 15:14:44 -0400 Subject: [PATCH] Minimize vdom diff in option value test --- render/tests/test-input.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/render/tests/test-input.js b/render/tests/test-input.js index e75da0ef5..d61bad549 100644 --- a/render/tests/test-input.js +++ b/render/tests/test-input.js @@ -122,13 +122,13 @@ o.spec("form inputs", function() { //test that value reverts to textContent when value omitted select = {tag: "select", children :[ - {tag: "option", text: "ccc"} + {tag: "option", text: "aaa"} ]} render(root, [select]) - o(select.dom.firstChild.value).equals("ccc") - o(select.dom.value).equals("ccc") + o(select.dom.firstChild.value).equals("aaa") + o(select.dom.value).equals("aaa") }) o("select yields invalid value without children", function() {