diff options
author | Robert Pluim <rpluim@gmail.com> | 2022-01-13 10:33:13 +0100 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2022-01-13 11:11:35 +0100 |
commit | 230b7787953b0878c6c0860b7d38b1e55d3dbc7a (patch) | |
tree | 17af54eb6d733a0faa6ceb347ccac2ff77c44049 /test/lisp | |
parent | 626c1dce02d4f2e8d0822decf8b421eee00674b1 (diff) | |
download | emacs-230b7787953b0878c6c0860b7d38b1e55d3dbc7a.tar.gz emacs-230b7787953b0878c6c0860b7d38b1e55d3dbc7a.tar.bz2 emacs-230b7787953b0878c6c0860b7d38b1e55d3dbc7a.zip |
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.
Diffstat (limited to 'test/lisp')
-rw-r--r-- | test/lisp/so-long-tests/spelling-tests.el | 1 |
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)) |