diff --git a/test/runtime/samples/prop-exports/_config.js b/test/runtime/samples/prop-exports/_config.js index 5959d4e5a9..631c9eb0ad 100644 --- a/test/runtime/samples/prop-exports/_config.js +++ b/test/runtime/samples/prop-exports/_config.js @@ -22,6 +22,7 @@ export default { v2=4 vi1=4 $vs1=1 + vl0=hello vl1=test $s3=29 loop... diff --git a/test/runtime/samples/prop-exports/main.svelte b/test/runtime/samples/prop-exports/main.svelte index 8a8fadd7be..93c217a158 100644 --- a/test/runtime/samples/prop-exports/main.svelte +++ b/test/runtime/samples/prop-exports/main.svelte @@ -19,6 +19,10 @@ let vs1 = v1 export { vs1 as a4 } + // literal initializer + let vl0 = 'hello' + export { vl0 } + // aliased with literal initializer let vl1 = 'test' export { vl1 as a5 } @@ -41,6 +45,7 @@ $v1={$v1} v2={v2} vi1={vi1} $vs1={$vs1} +vl0={vl0} vl1={vl1} $s3={$s3} {k1}{k2}