Skip to content

Commit 7b64e64

Browse files
author
Jonathan Felchlin
committed
Updating tests to account for new textarea handling
1 parent c439203 commit 7b64e64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/form.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ <h1>Form element test for diffDOM</h1>
171171
console.log(theDiff);
172172
}
173173

174-
second.value = 'Some text';
174+
second.innerHTML = 'Some text';
175175

176176
reportDiv();
177177

@@ -192,7 +192,7 @@ <h1>Form element test for diffDOM</h1>
192192

193193
theDiff = dd.diff(first, second);
194194

195-
if (theDiff.length === 2) {
195+
if (theDiff.length === 1) {
196196
success(theDiff);
197197
} else {
198198
testFailure();

0 commit comments

Comments
 (0)