Skip to content

Commit

Permalink
chore: fix test fixtures (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi authored Apr 19, 2024
1 parent 59944b8 commit 6e9329b
Show file tree
Hide file tree
Showing 29 changed files with 59 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:else}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/if}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:else}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/each}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:catch name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
{#await Promise.resolve(42)}
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<span tabindex="0">
<span class="element" />
<span class="element"></span>
</span>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="foo" />
<div class="foo"></div>

<!-- svelte-ignore css-unused-selector -->
<style>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="foo">
<div class="bar" />
<div class="bar" />
</div>

<!-- svelte-ignore css-unused-selector -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
TEXT
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- comment -->
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
<!-- svelte-ignore a11y-label-has-associated-control -->
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#if true}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/if}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#if true}
A
{:else}
<div />
<div></div>
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/if}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#key 42}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/key}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#each [] as e}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/each}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#each [] as e}
A
{:else}
<div />
<div></div>
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/each}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,43 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#await Promise.resolve(42)}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#await Promise.resolve(42)}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{:catch name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#await Promise.resolve(42)}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#await Promise.resolve(42) then n}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#await Promise.resolve(42) catch n}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:else}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/if}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:else}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/each}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:catch name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
{#await Promise.resolve(42)}
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:catch name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
{#await Promise.resolve(42)}
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="foo">
<div class="bar" />
<div class="bar"></div>
</div>

<style lang="postcss">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<span tabindex="0">
<span class="element" />
<span class="element"></span>
</span>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="foo" />
<div class="foo"></div>

<style>
.foo {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="foo">
<div class="bar" />
<div class="bar"></div>
</div>

<style lang="postcss">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="foo">
<div class="bar" />
<div class="bar"></div>
</div>

<style lang="scss">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
TEXT
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- comment -->
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
<!-- svelte-ignore a11y-label-has-associated-control -->
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#if true}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/if}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#if true}
A
{:else}
<div />
<div></div>
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/if}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#key 42}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/key}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#each [] as e}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/each}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#each [] as e}
A
{:else}
<div />
<div></div>
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/each}
</div>
Loading

0 comments on commit 6e9329b

Please sign in to comment.