From e0797d206aea0941c99e8e23629e9717cd442cca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Wed, 22 Jan 2025 22:24:26 +0000 Subject: [PATCH] Eglot: unbreak tests for older Emacsen * test/lisp/progmodes/eglot-tests.el (eglot-test-basic-symlink): Use skip-unless (cherry picked from commit 47a938c8890e81c4472018df52e62ab196efb103) --- test/lisp/progmodes/eglot-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }") -- 2.39.5