Skip to content

Commit 5bfdf02

Browse files
committed
chore: correct typo
1 parent 5deaf05 commit 5bfdf02

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

packages/svelte/tests/migrate/samples/slot-non-identifier/input.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,25 @@
4242
<!-- don't remove the let directive if we don't migrate -->
4343

4444
<Comp>
45-
<div let:shoudl_stay slot="cool:stuff">
45+
<div let:should_stay slot="cool:stuff">
4646
cool
4747
</div>
4848
</Comp>
4949

5050
<Comp>
51-
<div let:shoudl_stay slot="cool stuff">
51+
<div let:should_stay slot="cool stuff">
5252
cool
5353
</div>
5454
</Comp>
5555

5656
<Comp>
57-
<svelte:fragment let:shoudl_stay slot="cool:stuff">
57+
<svelte:fragment let:should_stay slot="cool:stuff">
5858
cool
5959
</svelte:fragment>
6060
</Comp>
6161

6262
<Comp>
63-
<svelte:fragment let:shoudl_stay slot="cool stuff">
63+
<svelte:fragment let:should_stay slot="cool stuff">
6464
cool
6565
</svelte:fragment>
6666
</Comp>

packages/svelte/tests/migrate/samples/slot-non-identifier/output.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,28 +51,28 @@
5151

5252
<Comp>
5353
<!-- @migration-task: migrate this slot by hand, `cool:stuff` is an invalid identifier -->
54-
<div let:shoudl_stay slot="cool:stuff">
54+
<div let:should_stay slot="cool:stuff">
5555
cool
5656
</div>
5757
</Comp>
5858

5959
<Comp>
6060
<!-- @migration-task: migrate this slot by hand, `cool stuff` is an invalid identifier -->
61-
<div let:shoudl_stay slot="cool stuff">
61+
<div let:should_stay slot="cool stuff">
6262
cool
6363
</div>
6464
</Comp>
6565

6666
<Comp>
6767
<!-- @migration-task: migrate this slot by hand, `cool:stuff` is an invalid identifier -->
68-
<svelte:fragment let:shoudl_stay slot="cool:stuff">
68+
<svelte:fragment let:should_stay slot="cool:stuff">
6969
cool
7070
</svelte:fragment>
7171
</Comp>
7272

7373
<Comp>
7474
<!-- @migration-task: migrate this slot by hand, `cool stuff` is an invalid identifier -->
75-
<svelte:fragment let:shoudl_stay slot="cool stuff">
75+
<svelte:fragment let:should_stay slot="cool stuff">
7676
cool
7777
</svelte:fragment>
7878
</Comp>

0 commit comments

Comments
 (0)