Skip to content

Commit 4f7f10f

Browse files
committed
lint: order filename before code in test cases
1 parent 55a1a6c commit 4f7f10f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/lib/rules/template-require-mandatory-role-attributes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ ruleTester.run('template-require-mandatory-role-attributes', rule, {
196196
// The semantic-role exemption must NOT apply — we can't prove the
197197
// imported identifier renders a native <input>. Flag the missing ARIA.
198198
{
199-
code: '<template>{{input type="checkbox" role="switch"}}</template>',
200199
filename: 'component.gjs',
200+
code: '<template>{{input type="checkbox" role="switch"}}</template>',
201201
output: null,
202202
errors: [
203203
{
@@ -206,8 +206,8 @@ ruleTester.run('template-require-mandatory-role-attributes', rule, {
206206
],
207207
},
208208
{
209-
code: '<template>{{input type="range" role="slider"}}</template>',
210209
filename: 'component.gts',
210+
code: '<template>{{input type="range" role="slider"}}</template>',
211211
output: null,
212212
errors: [
213213
{

0 commit comments

Comments
 (0)