summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/eglot-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/progmodes/eglot-tests.el')
-rw-r--r--test/lisp/progmodes/eglot-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lisp/progmodes/eglot-tests.el b/test/lisp/progmodes/eglot-tests.el
index 0486c938558..ad0a411189f 100644
--- a/test/lisp/progmodes/eglot-tests.el
+++ b/test/lisp/progmodes/eglot-tests.el
@@ -85,8 +85,8 @@ directory hierarchy."
(defun eglot--call-with-fixture (fixture fn)
"Helper for `eglot--with-fixture'. Run FN under FIXTURE."
- (let* ((fixture-directory (make-nearby-temp-file "eglot--fixture" t))
- (default-directory fixture-directory)
+ (let* ((fixture-directory (make-nearby-temp-file "eglot--fixture-" t))
+ (default-directory (file-name-as-directory fixture-directory))
created-files
new-servers
test-body-successful-p)