Skip to content

Commit a934d3b

Browse files
committed
lint: order filename before code in test cases
1 parent 5b850b2 commit a934d3b

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
@@ -198,8 +198,8 @@ ruleTester.run('template-require-mandatory-role-attributes', rule, {
198198
// The semantic-role exemption must NOT apply — we can't prove the
199199
// imported identifier renders a native <input>. Flag the missing ARIA.
200200
{
201-
code: '<template>{{input type="checkbox" role="switch"}}</template>',
202201
filename: 'component.gjs',
202+
code: '<template>{{input type="checkbox" role="switch"}}</template>',
203203
output: null,
204204
errors: [
205205
{
@@ -208,8 +208,8 @@ ruleTester.run('template-require-mandatory-role-attributes', rule, {
208208
],
209209
},
210210
{
211-
code: '<template>{{input type="range" role="slider"}}</template>',
212211
filename: 'component.gts',
212+
code: '<template>{{input type="range" role="slider"}}</template>',
213213
output: null,
214214
errors: [
215215
{

0 commit comments

Comments
 (0)