From 3645d993c38ebcea49d0c2fa5a5b17465a71fb08 Mon Sep 17 00:00:00 2001 From: Arseniy Zaostrovnykh Date: Mon, 29 Jul 2024 10:11:33 +0200 Subject: [PATCH] Simplify a test --- test/lsp-sonarlint-integration-test.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/lsp-sonarlint-integration-test.el b/test/lsp-sonarlint-integration-test.el index d287dd1..5d3ad93 100644 --- a/test/lsp-sonarlint-integration-test.el +++ b/test/lsp-sonarlint-integration-test.el @@ -138,9 +138,7 @@ If nil, use python-mode by default." "Check that LSP mode detects the absence of the SonarLint plugin." (let ((lsp-sonarlint-download-dir (lsp-sonarlint--sample-file "")) (lsp-sonarlint-use-system-jre t) - (filename (lsp-sonarlint--sample-file "sample.py")) - (exec-path (cons (lsp-sonarlint--sample-file "mock-java-bin/") - exec-path))) + (filename (lsp-sonarlint--sample-file "sample.py"))) (should (null (lsp-sonarlint--any-alive-workspaces-p))) (let ((lsp-enabled-clients '(sonarlint)) (lsp-keep-workspace-alive nil)