From 230b7787953b0878c6c0860b7d38b1e55d3dbc7a Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Thu, 13 Jan 2022 10:33:13 +0100 Subject: [PATCH] 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 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)) -- 2.39.2