Skip to content

Commit 9715887

Browse files
authored
test: Add error location details to no-div-regex (#21110)
1 parent a746ec6 commit 9715887

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎tests/lib/rules/no-div-regex.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ ruleTester.run("no-div-regex", rule, {
3030
errors: [
3131
{
3232
messageId: "unexpected",
33+
line: 1,
34+
column: 29,
35+
endLine: 1,
36+
endColumn: 35,
3337
},
3438
],
3539
},

0 commit comments

Comments
 (0)