From 1130f0f1cf5ee1bd18ef76448c7833e97c9befbf Mon Sep 17 00:00:00 2001 From: Dylon Edwards Date: Fri, 27 Dec 2024 13:11:16 -0500 Subject: [PATCH] Fixes unit test for diagnostic change --- server/test/spec/lfortran-accessors.spec.ts | 4 ++-- server/test/spec/lfortran-language-server.spec.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/test/spec/lfortran-accessors.spec.ts b/server/test/spec/lfortran-accessors.spec.ts index 92337ea..f08a7be 100644 --- a/server/test/spec/lfortran-accessors.spec.ts +++ b/server/test/spec/lfortran-accessors.spec.ts @@ -294,7 +294,7 @@ describe("LFortranCLIAccessor", () => { }, end: { line: 3, - character: 21 + character: 20 } }, severity: DiagnosticSeverity.Warning, @@ -309,7 +309,7 @@ describe("LFortranCLIAccessor", () => { }, end: { line: 6, - character: 18 + character: 17 } }, severity: DiagnosticSeverity.Warning, diff --git a/server/test/spec/lfortran-language-server.spec.ts b/server/test/spec/lfortran-language-server.spec.ts index 92c9375..3c204fe 100644 --- a/server/test/spec/lfortran-language-server.spec.ts +++ b/server/test/spec/lfortran-language-server.spec.ts @@ -376,7 +376,7 @@ describe("LFortranLanguageServer", () => { }, end: { line: 3, - character: 21 + character: 20 } }, severity: DiagnosticSeverity.Warning, @@ -391,7 +391,7 @@ describe("LFortranLanguageServer", () => { }, end: { line: 6, - character: 18 + character: 17 } }, // NOTE: Right now, the severity is hard-coded to Warning ...