From: João Távora Date: Wed, 22 Jan 2025 22:24:26 +0000 (+0000) Subject: Eglot: unbreak tests for older Emacsen X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e0797d206aea0941c99e8e23629e9717cd442cca;p=emacs.git Eglot: unbreak tests for older Emacsen * test/lisp/progmodes/eglot-tests.el (eglot-test-basic-symlink): Use skip-unless (cherry picked from commit 47a938c8890e81c4472018df52e62ab196efb103) --- diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el index d54654b84ac..5d7fed79374 100644 --- a/test/lisp/progmodes/eglot-tests.el +++ b/test/lisp/progmodes/eglot-tests.el @@ -442,7 +442,7 @@ directory hierarchy." "Test basic symlink support." (skip-unless (executable-find "clangd")) ;; MS-Windows either fails symlink creation or pops up UAC prompts. - (skip-when (eq system-type 'windows-nt)) + (skip-unless (not (eq system-type 'windows-nt))) (eglot--with-fixture `(("symlink-project" . (("main.cpp" . "#include\"foo.h\"\nint main() { return foo(); }")