Skip to content

Commit 173a7f7

Browse files
committed
update snapshots
1 parent 67183ce commit 173a7f7

File tree

2 files changed

+7
-5
lines changed
  • packages/svelte/tests/snapshot/samples

2 files changed

+7
-5
lines changed

packages/svelte/tests/snapshot/samples/destructured-assignments/_expected/client-functional/index.svelte.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ let c = 3;
77
let d = 4;
88

99
export function update(array) {
10-
(
11-
$.set(a, array[0], true),
12-
$.set(b, array[1], true)
13-
);
10+
{
11+
let [$$1, $$2] = array;
12+
13+
$.set(a, $$1, true);
14+
$.set(b, $$2, true);
15+
};
1416

1517
[c, d] = array;
1618
}

packages/svelte/tests/snapshot/samples/purity/_expected/client-functional/index.svelte.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default function Purity($$anchor) {
88
var fragment = root();
99
var p = $.first_child(fragment);
1010

11-
p.textContent = 0;
11+
p.textContent = '0';
1212

1313
var p_1 = $.sibling(p, 2);
1414

0 commit comments

Comments
 (0)