[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 230b778795: spelling-tests.el: actually create a temp directory
From: |
Robert Pluim |
Subject: |
master 230b778795: spelling-tests.el: actually create a temp directory |
Date: |
Thu, 13 Jan 2022 05:12:12 -0500 (EST) |
branch: master
commit 230b7787953b0878c6c0860b7d38b1e55d3dbc7a
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>
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.
---
test/lisp/so-long-tests/spelling-tests.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/lisp/so-long-tests/spelling-tests.el
b/test/lisp/so-long-tests/spelling-tests.el
index 317513e9a9..09ffa3c800 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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 230b778795: spelling-tests.el: actually create a temp directory,
Robert Pluim <=