Skip to content

Commit c8c8848

Browse files
committed
update snapshots
1 parent 5e2cda3 commit c8c8848

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

packages/svelte/tests/snapshot/samples/bind-component-snippet/_expected/server/index.svelte.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function Bind_component_snippet($$payload, $$props) {
1515
let $$inner_payload;
1616

1717
function $$render_inner($$payload) {
18-
$$payload.out += `<!--[-->`;
18+
$$payload.out += "<!--[-->";
1919

2020
TextInput($$payload, {
2121
get value() {
@@ -27,7 +27,8 @@ export default function Bind_component_snippet($$payload, $$props) {
2727
}
2828
});
2929

30-
$$payload.out += `<!--]--> value: ${$.escape(value)}`;
30+
$$payload.out += "<!--]-->";
31+
$$payload.out += ` value: ${$.escape(value)}`;
3132
};
3233

3334
do {

packages/svelte/tests/snapshot/samples/bind-this/_expected/server/index.svelte.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as $ from "svelte/internal/server";
22

33
export default function Bind_this($$payload, $$props) {
44
$.push();
5-
$$payload.out += `<!--[-->`;
5+
$$payload.out += "<!--[-->";
66
Foo($$payload, {});
7-
$$payload.out += `<!--]-->`;
7+
$$payload.out += "<!--]-->";
88
$.pop();
99
}

packages/svelte/tests/snapshot/samples/function-prop-no-getter/_expected/server/index.svelte.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function Function_prop_no_getter($$payload, $$props) {
1111

1212
const plusOne = (num) => num + 1;
1313

14-
$$payload.out += `<!--[-->`;
14+
$$payload.out += "<!--[-->";
1515

1616
Button($$payload, {
1717
onmousedown: () => count += 1,
@@ -23,6 +23,6 @@ export default function Function_prop_no_getter($$payload, $$props) {
2323
$$slots: { default: true }
2424
});
2525

26-
$$payload.out += `<!--]-->`;
26+
$$payload.out += "<!--]-->";
2727
$.pop();
2828
}

packages/svelte/tests/snapshot/samples/svelte-element/_expected/server/index.svelte.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ export default function Svelte_element($$payload, $$props) {
88
if (tag) $.element($$payload, tag, () => {}, () => {});
99
$$payload.out += `<!---->`;
1010
$.pop();
11-
}
11+
}

0 commit comments

Comments
 (0)