From f81c363c1a4fcb9785353e69de04461c23eeb3bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20L=C3=A9vesque?= Date: Sat, 14 Dec 2024 17:40:19 -0500 Subject: [PATCH] use short diagnostic message (#88) --- src/test-e2e/suite/extension.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test-e2e/suite/extension.test.ts b/src/test-e2e/suite/extension.test.ts index d4754f2..8089ca2 100644 --- a/src/test-e2e/suite/extension.test.ts +++ b/src/test-e2e/suite/extension.test.ts @@ -5,8 +5,7 @@ import { Fixture, activate } from "../helpers"; test("Should get diagnostics", async () => { await testDiagnostics(Fixture.Diagnostics, [ { - message: - "** (CompileError) lib/diagnostics.ex:3: undefined function foo/0 (expected Fixtures to define such a function or for it to be imported, but none are available)\n\n", + message: "undefined function foo/0", range: toRange(2, 4, 3, 0), severity: vscode.DiagnosticSeverity.Error, source: "Elixir",