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) {
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}
You can’t perform that action at this time.
0 commit comments