emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 081bf58300: Skip Eglot rust-analyzer tests if 'cargo' isn't ava


From: João Távora
Subject: emacs-29 081bf58300: Skip Eglot rust-analyzer tests if 'cargo' isn't available
Date: Mon, 12 Dec 2022 07:18:00 -0500 (EST)

branch: emacs-29
commit 081bf5830070b8e9d1fcf695e8da6cd0cb89b553
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Skip Eglot rust-analyzer tests if 'cargo' isn't available
    
    * test/lisp/progmodes/eglot-tests.el
    (project-wide-diagnostics-rust-analyzer)
    (diagnostic-tags-unnecessary-code): Skip unless "cargo" is found.
---
 test/lisp/progmodes/eglot-tests.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/lisp/progmodes/eglot-tests.el 
b/test/lisp/progmodes/eglot-tests.el
index 2b4de8c27d..fd0a68973e 100644
--- a/test/lisp/progmodes/eglot-tests.el
+++ b/test/lisp/progmodes/eglot-tests.el
@@ -431,6 +431,7 @@ Pass TIMEOUT to `eglot--with-timeout'."
 (ert-deftest diagnostic-tags-unnecessary-code ()
   "Test rendering of diagnostics tagged \"unnecessary\"."
   (skip-unless (executable-find "rust-analyzer"))
+  (skip-unless (executable-find "cargo"))
   (eglot--with-fixture
       '(("diagnostic-tag-project" .
          (("main.rs" .
@@ -780,6 +781,7 @@ pylsp prefers autopep over yafp, despite its README stating 
the contrary."
 (ert-deftest project-wide-diagnostics-rust-analyzer ()
   "Test diagnostics through multiple files in a TypeScript LSP."
   (skip-unless (executable-find "rust-analyzer"))
+  (skip-unless (executable-find "cargo"))
   (eglot--with-fixture
       '(("project" .
          (("main.rs" .



reply via email to

[Prev in Thread] Current Thread [Next in Thread]