Skip to content

Commit

Permalink
fix: use existing linter instead of creating a new one
Browse files Browse the repository at this point in the history
  • Loading branch information
gnikit committed Mar 23, 2024
1 parent b422178 commit b4d3548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/linter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ suite('Linter integration', async () => {
// different versions of gfortran report the error at a different column number
// need to implement a the compiler versioning see #523
test('GNU - API call to doLint produces correct diagnostics', async () => {
const diags = await new FortranLintingProvider(logger)['doLint'](doc);
const diags = await linter['doLint'](doc);
const ref: Diagnostic[] = [
new Diagnostic(
new Range(new Position(21 - 1, 18 - 1), new Position(21 - 1, 18 - 1)),
Expand Down

0 comments on commit b4d3548

Please sign in to comment.