From d42649b16d1bde633e9b95293e6248cede3a3a31 Mon Sep 17 00:00:00 2001 From: gnikit Date: Sat, 23 Mar 2024 13:56:37 +0000 Subject: [PATCH] fix: use existing linter instead of creating a new one --- test/integration/linter.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/linter.test.ts b/test/integration/linter.test.ts index 2cb2106b..e2e26971 100644 --- a/test/integration/linter.test.ts +++ b/test/integration/linter.test.ts @@ -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)),