From b828fdf85560c7a60c51e4eb0aa5bc4f24023d0e Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sat, 27 May 2017 12:36:40 -0400 Subject: [PATCH] treat `, + + test ( assert, component, target ) { + const textarea = target.querySelector( 'textarea' ); + assert.strictEqual( textarea.value, `\n\t

not actually an element. 42

\n` ); + + component.set({ foo: 43 }); + assert.strictEqual( textarea.value, `\n\t

not actually an element. 43

\n` ); + } +}; \ No newline at end of file diff --git a/test/runtime/samples/textarea-children/main.html b/test/runtime/samples/textarea-children/main.html new file mode 100644 index 0000000000..de50c807d6 --- /dev/null +++ b/test/runtime/samples/textarea-children/main.html @@ -0,0 +1,3 @@ + \ No newline at end of file