From 253615fed545a74212910033ff1603db1ad8468a Mon Sep 17 00:00:00 2001 From: Conduitry Date: Fri, 4 Oct 2019 08:17:53 -0400 Subject: [PATCH] tidy tests --- .../samples/reactive-compound-operator/_config.js | 4 ++-- .../samples/reactive-compound-operator/main.svelte | 4 ++-- .../samples/reactive-update-expression/_config.js | 4 ++-- .../samples/reactive-update-expression/main.svelte | 10 +++++----- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/test/runtime/samples/reactive-compound-operator/_config.js b/test/runtime/samples/reactive-compound-operator/_config.js index 7b16676410..94a726f403 100644 --- a/test/runtime/samples/reactive-compound-operator/_config.js +++ b/test/runtime/samples/reactive-compound-operator/_config.js @@ -13,7 +13,7 @@ export default { assert.equal(component.x, 2); assert.htmlEqual(target.innerHTML, ` -

count:2

+

count: 2

`); await button.dispatchEvent(click); @@ -21,7 +21,7 @@ export default { assert.equal(component.x, 6); assert.htmlEqual(target.innerHTML, ` -

count:6

+

count: 6

`); } }; diff --git a/test/runtime/samples/reactive-compound-operator/main.svelte b/test/runtime/samples/reactive-compound-operator/main.svelte index 611dde7176..52654aed59 100644 --- a/test/runtime/samples/reactive-compound-operator/main.svelte +++ b/test/runtime/samples/reactive-compound-operator/main.svelte @@ -1,8 +1,8 @@ -

count:{x}

+

count: {x}

diff --git a/test/runtime/samples/reactive-update-expression/_config.js b/test/runtime/samples/reactive-update-expression/_config.js index c90da8255e..1355e165a4 100644 --- a/test/runtime/samples/reactive-update-expression/_config.js +++ b/test/runtime/samples/reactive-update-expression/_config.js @@ -15,7 +15,7 @@ export default { assert.equal(component.x, 3); assert.htmlEqual(target.innerHTML, ` -

count:3

+

count: 3

`); await button.dispatchEvent(click); @@ -23,7 +23,7 @@ export default { assert.equal(component.x, 5); assert.htmlEqual(target.innerHTML, ` -

count:5

+

count: 5

`); } }; diff --git a/test/runtime/samples/reactive-update-expression/main.svelte b/test/runtime/samples/reactive-update-expression/main.svelte index 887d7a57e8..0e0b45ddd6 100644 --- a/test/runtime/samples/reactive-update-expression/main.svelte +++ b/test/runtime/samples/reactive-update-expression/main.svelte @@ -1,12 +1,12 @@ -

count:{x}

+

count: {x}