Skip to content

Commit 83e77ff

Browse files
committed
chore: simplify migration comment test
1 parent 7970ce3 commit 83e77ff

File tree

2 files changed

+1
-36
lines changed

2 files changed

+1
-36
lines changed
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
11
{#if false}
22
<svelte:self />
3-
<svelte:self with_attributes/>
4-
<svelte:self count={count+1}/>
5-
<svelte:self>
6-
child
7-
</svelte:self>
8-
<svelte:self count={count+1}>
9-
child
10-
</svelte:self>
11-
<svelte:self count={$$props.count} >
12-
child
13-
</svelte:self>
14-
<svelte:self></svelte:self>
153
{/if}
Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,4 @@
1-
<script>
2-
/** @type {Record<string, any>} */
3-
let { ...props } = $props();
4-
</script>
5-
61
{#if false}
7-
<!-- @migration-task: migrate this by hand or call the migrate function with the filename of this file -->
2+
<!-- @migration-task: svelte:self is deprecated, import this Svelte file into itself instead -->
83
<svelte:self />
9-
<!-- @migration-task: migrate this by hand or call the migrate function with the filename of this file -->
10-
<svelte:self with_attributes/>
11-
<!-- @migration-task: migrate this by hand or call the migrate function with the filename of this file -->
12-
<svelte:self count={count+1}/>
13-
<!-- @migration-task: migrate this by hand or call the migrate function with the filename of this file -->
14-
<svelte:self>
15-
child
16-
</svelte:self>
17-
<!-- @migration-task: migrate this by hand or call the migrate function with the filename of this file -->
18-
<svelte:self count={count+1}>
19-
child
20-
</svelte:self>
21-
<!-- @migration-task: migrate this by hand or call the migrate function with the filename of this file -->
22-
<svelte:self count={props.count} >
23-
child
24-
</svelte:self>
25-
<!-- @migration-task: migrate this by hand or call the migrate function with the filename of this file -->
26-
<svelte:self></svelte:self>
274
{/if}

0 commit comments

Comments
 (0)