]> git.eshelyaron.com Git - emacs.git/commitdiff
Eglot: unbreak tests for older Emacsen
authorJoão Távora <joaotavora@gmail.com>
Wed, 22 Jan 2025 22:24:26 +0000 (22:24 +0000)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 Jan 2025 10:28:46 +0000 (11:28 +0100)
* test/lisp/progmodes/eglot-tests.el (eglot-test-basic-symlink):
Use skip-unless

(cherry picked from commit 47a938c8890e81c4472018df52e62ab196efb103)

test/lisp/progmodes/eglot-tests.el

index d54654b84aca7558c5ae53c10c48909b09f2b5c2..5d7fed793749d50ff0af0cd29144714311876aa5 100644 (file)
@@ -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(); }")