Skip to content

Commit

Permalink
test: add test code that cover end line
Browse files Browse the repository at this point in the history
  • Loading branch information
developer-bandi committed Mar 10, 2024
1 parent 74944e5 commit d95260e
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1950,5 +1950,24 @@ export namespace Bar {
},
],
},
{
code: `
const foo: number = 1;
`,
errors: [
{
messageId: 'unusedVar',
data: {
varName: 'foo',
action: 'assigned a value',
additional: '',
},
line: 2,
column: 7,
endLine: 2,
endColumn: 10,
},
],
},
],
});

0 comments on commit d95260e

Please sign in to comment.