File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/svelte/tests/snapshot/samples/nullish-coallescence-omittance/_expected/client Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ export default function Nullish_coallescence_omittance($$anchor) {
10
10
var fragment = root ( ) ;
11
11
var h1 = $ . first_child ( fragment ) ;
12
12
13
- h1 . textContent = ` Hello, ${ name } !` ;
13
+ h1 . textContent = ' Hello, world!' ;
14
14
15
15
var b = $ . sibling ( h1 , 2 ) ;
16
16
17
- b . textContent = ` ${ 1 ?? 'stuff' } ${ 2 ?? 'more stuff' } ${ 3 ?? 'even more stuff' } ` ;
17
+ b . textContent = '123' ;
18
18
19
19
var button = $ . sibling ( b , 2 ) ;
20
20
@@ -26,7 +26,7 @@ export default function Nullish_coallescence_omittance($$anchor) {
26
26
27
27
var h1_1 = $ . sibling ( button , 2 ) ;
28
28
29
- h1_1 . textContent = ` Hello, ${ name ?? 'earth' ?? '' } ` ;
29
+ h1_1 . textContent = ' Hello, world' ;
30
30
$ . template_effect ( ( ) => $ . set_text ( text , `Count is ${ $ . get ( count ) ?? '' } ` ) ) ;
31
31
$ . append ( $$anchor , fragment ) ;
32
32
}
You can’t perform that action at this time.
0 commit comments