diff --git a/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/_expected/client/index.svelte.js b/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/_expected/client/index.svelte.js index 2af7036e4f..03c98b0f8d 100644 --- a/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/_expected/client/index.svelte.js +++ b/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/_expected/client/index.svelte.js @@ -16,7 +16,7 @@ export default function Hoist_unmodified_var($$anchor, $$props) { var p = $.open($$anchor, true, frag); var text = $.child(p); - text.nodeValue = `boolean is ${$.stringify(boolean)} and autocapitalize is $${$.stringify(autocapitalize)}`; + text.nodeValue = `boolean is ${$.stringify(boolean)} and autocapitalize is ${$.stringify(autocapitalize)}`; $.close($$anchor, p); $.pop(); -} \ No newline at end of file +} diff --git a/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/_expected/server/index.svelte.js b/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/_expected/server/index.svelte.js index f46e2a16c5..a85632b097 100644 --- a/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/_expected/server/index.svelte.js +++ b/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/_expected/server/index.svelte.js @@ -9,6 +9,6 @@ export default function Hoist_unmodified_var($$payload, $$props) { let boolean = false; - $$payload.out += `
boolean is ${$.escape(boolean)} and autocapitalize is $${$.escape(autocapitalize)}
`; + $$payload.out += `boolean is ${$.escape(boolean)} and autocapitalize is ${$.escape(autocapitalize)}
`; $.pop(); -} \ No newline at end of file +} diff --git a/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/index.svelte b/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/index.svelte index 73f0e71c96..a33528e340 100644 --- a/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/index.svelte +++ b/packages/svelte/tests/snapshot/samples/hoist-unmodified-var/index.svelte @@ -8,4 +8,4 @@ let boolean = false; -boolean is {boolean} and autocapitalize is ${autocapitalize}
+boolean is {boolean} and autocapitalize is {autocapitalize}