Skip to content

Commit 76a3621

Browse files
committed
test: fix error line number
1 parent 1c5ab1f commit 76a3621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib/utils/add-async-fo-function-fix.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ ruleTester.run(addAsyncToFunctionFix.name, rule, {
8888
async function foo(a, b) {
8989
return a + b;
9090
}`,
91-
errors: [{ messageId: 'alwaysAsync', line: 1 }],
91+
errors: [{ messageId: 'alwaysAsync', line: 2 }],
9292
},
9393
{
9494
code: `

0 commit comments

Comments
 (0)