summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2022-01-13 10:33:13 +0100
committerRobert Pluim <rpluim@gmail.com>2022-01-13 11:11:35 +0100
commit230b7787953b0878c6c0860b7d38b1e55d3dbc7a (patch)
tree17af54eb6d733a0faa6ceb347ccac2ff77c44049
parent626c1dce02d4f2e8d0822decf8b421eee00674b1 (diff)
downloademacs-230b7787953b0878c6c0860b7d38b1e55d3dbc7a.tar.gz
spelling-tests.el: actually create a temp directory
This test was creating a file, but actually needs a directory, and fails otherwise. * test/lisp/so-long-tests/spelling-tests.el (so-long-spelling): Pass the :directory arg to ert-with-temp-file so we actually create a directory.
-rw-r--r--test/lisp/so-long-tests/spelling-tests.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/so-long-tests/spelling-tests.el b/test/lisp/so-long-tests/spelling-tests.el
index 317513e9a91..09ffa3c8006 100644
--- a/test/lisp/so-long-tests/spelling-tests.el
+++ b/test/lisp/so-long-tests/spelling-tests.el
@@ -52,6 +52,7 @@
;; when starting the inferior ispell process, so we set HOME to a valid
;; (but empty) temporary directory for this test.
(ert-with-temp-file tmpdir
+ :directory t
:suffix "so-long.ispell"
(let* ((process-environment (cons (format "HOME=%s" tmpdir)
process-environment))