Eglot: skip Tramp tests except on Emacs 28+
* test/lisp/progmodes/eglot-tests.el (eglot--call-with-tramp-test): Fix
This commit is contained in:
parent
d83d090de1
commit
c888e726ca
1 changed files with 2 additions and 0 deletions
|
@ -1421,6 +1421,8 @@ GUESSED-MAJOR-MODES-SYM are bound to the useful return values of
|
|||
|
||||
(defvar tramp-histfile-override)
|
||||
(defun eglot--call-with-tramp-test (fn)
|
||||
(unless (>= emacs-major-version 28)
|
||||
(ert-skip "Tramp tests only work reliably on Emacs 28+"))
|
||||
;; Set up a Tramp method that’s just a shell so the remote host is
|
||||
;; really just the local host.
|
||||
(let* ((tramp-remote-path (cons 'tramp-own-remote-path
|
||||
|
|
Loading…
Add table
Reference in a new issue