From: Robert Pluim Date: Thu, 13 Jan 2022 09:33:13 +0000 (+0100) Subject: spelling-tests.el: actually create a temp directory X-Git-Tag: emacs-29.0.90~3097 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=230b7787953b0878c6c0860b7d38b1e55d3dbc7a;p=emacs.git 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. --- 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))