From 8a86ec2167c6a792b57c1ad68729f3254a54685e Mon Sep 17 00:00:00 2001 From: Conduitry Date: Wed, 16 Oct 2019 11:44:18 -0400 Subject: [PATCH 1/4] add deconflict-ctx test against regression (#3556) --- test/runtime/samples/deconflict-ctx/_config.js | 5 +++++ test/runtime/samples/deconflict-ctx/main.svelte | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 test/runtime/samples/deconflict-ctx/_config.js create mode 100644 test/runtime/samples/deconflict-ctx/main.svelte diff --git a/test/runtime/samples/deconflict-ctx/_config.js b/test/runtime/samples/deconflict-ctx/_config.js new file mode 100644 index 000000000000..88f3e2efca19 --- /dev/null +++ b/test/runtime/samples/deconflict-ctx/_config.js @@ -0,0 +1,5 @@ +export default { + html: ` +

Hello world!

+ ` +}; \ No newline at end of file diff --git a/test/runtime/samples/deconflict-ctx/main.svelte b/test/runtime/samples/deconflict-ctx/main.svelte new file mode 100644 index 000000000000..d1af46a18dd4 --- /dev/null +++ b/test/runtime/samples/deconflict-ctx/main.svelte @@ -0,0 +1,5 @@ + + +

Hello {ctx}!

From 7f6395343fecfb834b64ce63965f3d1ef880ad5f Mon Sep 17 00:00:00 2001 From: Conduitry Date: Wed, 16 Oct 2019 11:51:57 -0400 Subject: [PATCH 2/4] add reactive-value-coerce-precedence test against regression (#3564) --- .../samples/reactive-value-coerce-precedence/_config.js | 5 +++++ .../samples/reactive-value-coerce-precedence/main.svelte | 1 + 2 files changed, 6 insertions(+) create mode 100644 test/runtime/samples/reactive-value-coerce-precedence/_config.js create mode 100644 test/runtime/samples/reactive-value-coerce-precedence/main.svelte diff --git a/test/runtime/samples/reactive-value-coerce-precedence/_config.js b/test/runtime/samples/reactive-value-coerce-precedence/_config.js new file mode 100644 index 000000000000..4fe47e26fad6 --- /dev/null +++ b/test/runtime/samples/reactive-value-coerce-precedence/_config.js @@ -0,0 +1,5 @@ +export default { + html: ` +

true

+ ` +}; diff --git a/test/runtime/samples/reactive-value-coerce-precedence/main.svelte b/test/runtime/samples/reactive-value-coerce-precedence/main.svelte new file mode 100644 index 000000000000..fc73456e9eac --- /dev/null +++ b/test/runtime/samples/reactive-value-coerce-precedence/main.svelte @@ -0,0 +1 @@ +

{1 === 1}

\ No newline at end of file From 33b8eae7fff676f80b075a039301bd86d20cddd9 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Wed, 16 Oct 2019 14:50:29 -0400 Subject: [PATCH 3/4] add semicolon-hoisting test against regression (#2292) --- test/runtime/samples/semicolon-hoisting/_config.js | 3 +++ test/runtime/samples/semicolon-hoisting/main.svelte | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 test/runtime/samples/semicolon-hoisting/_config.js create mode 100644 test/runtime/samples/semicolon-hoisting/main.svelte diff --git a/test/runtime/samples/semicolon-hoisting/_config.js b/test/runtime/samples/semicolon-hoisting/_config.js new file mode 100644 index 000000000000..88d81cdc9e67 --- /dev/null +++ b/test/runtime/samples/semicolon-hoisting/_config.js @@ -0,0 +1,3 @@ +export default { + html: `` +}; \ No newline at end of file diff --git a/test/runtime/samples/semicolon-hoisting/main.svelte b/test/runtime/samples/semicolon-hoisting/main.svelte new file mode 100644 index 000000000000..234fa715d212 --- /dev/null +++ b/test/runtime/samples/semicolon-hoisting/main.svelte @@ -0,0 +1,6 @@ + \ No newline at end of file From bc0d53ce9bb14851024d31d1ed651d667ca7cba4 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Wed, 16 Oct 2019 14:56:28 -0400 Subject: [PATCH 4/4] add destructuring-between-exports test against regression (#3628) --- .../samples/destructuring-between-exports/_config.js | 8 ++++++++ .../samples/destructuring-between-exports/main.svelte | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100644 test/runtime/samples/destructuring-between-exports/_config.js create mode 100644 test/runtime/samples/destructuring-between-exports/main.svelte diff --git a/test/runtime/samples/destructuring-between-exports/_config.js b/test/runtime/samples/destructuring-between-exports/_config.js new file mode 100644 index 000000000000..56061f510fca --- /dev/null +++ b/test/runtime/samples/destructuring-between-exports/_config.js @@ -0,0 +1,8 @@ +export default { + props: { + foo: { bar: 42 } + }, + html: ` +

42

+ ` +}; \ No newline at end of file diff --git a/test/runtime/samples/destructuring-between-exports/main.svelte b/test/runtime/samples/destructuring-between-exports/main.svelte new file mode 100644 index 000000000000..17cc8dc17dcd --- /dev/null +++ b/test/runtime/samples/destructuring-between-exports/main.svelte @@ -0,0 +1,7 @@ + + +

{bar}

\ No newline at end of file