Skip to content

Commit ea19403

Browse files
committed
update test
1 parent 8acf967 commit ea19403

File tree

1 file changed

+3
-3
lines changed
  • packages/svelte/tests/snapshot/samples/nullish-coallescence-omittance/_expected/client

1 file changed

+3
-3
lines changed

packages/svelte/tests/snapshot/samples/nullish-coallescence-omittance/_expected/client/index.svelte.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ export default function Nullish_coallescence_omittance($$anchor) {
1010
var fragment = root();
1111
var h1 = $.first_child(fragment);
1212

13-
h1.textContent = `Hello, ${name}!`;
13+
h1.textContent = 'Hello, world!';
1414

1515
var b = $.sibling(h1, 2);
1616

17-
b.textContent = `${1 ?? 'stuff'}${2 ?? 'more stuff'}${3 ?? 'even more stuff'}`;
17+
b.textContent = '123';
1818

1919
var button = $.sibling(b, 2);
2020

@@ -26,7 +26,7 @@ export default function Nullish_coallescence_omittance($$anchor) {
2626

2727
var h1_1 = $.sibling(button, 2);
2828

29-
h1_1.textContent = `Hello, ${name ?? 'earth' ?? ''}`;
29+
h1_1.textContent = 'Hello, world';
3030
$.template_effect(() => $.set_text(text, `Count is ${$.get(count) ?? ''}`));
3131
$.append($$anchor, fragment);
3232
}

0 commit comments

Comments
 (0)