summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2015-04-24 00:10:11 -0700
committerGlenn Morris <rgm@gnu.org>2015-04-24 00:10:11 -0700
commita3ac56ca550509ddcf8ab3bf23bbe939336caccc (patch)
treeee5e84cff2f05d5c663c919fcb7ffac2c82681a2 /test
parent5f8878796e20580afa4fbe171ddc0d0c7280c193 (diff)
downloademacs-a3ac56ca550509ddcf8ab3bf23bbe939336caccc.tar.gz
* test/automated/message-mode-tests.el (message-mode-propertize):
Handle non-writable HOME; eg on hydra.nixos.org.
Diffstat (limited to 'test')
-rw-r--r--test/automated/message-mode-tests.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/automated/message-mode-tests.el b/test/automated/message-mode-tests.el
index 4354b23725a..49a72b0e67a 100644
--- a/test/automated/message-mode-tests.el
+++ b/test/automated/message-mode-tests.el
@@ -24,13 +24,15 @@
;; This file contains tests for message-mode.
;;; Code:
+
+(require 'message)
(require 'ert)
(require 'ert-x)
(ert-deftest message-mode-propertize ()
(with-temp-buffer
(unwind-protect
- (progn
+ (let (message-auto-save-directory)
(message-mode)
(insert "here's an opener (\n"
"here's a sad face :-(\n"
@@ -54,4 +56,5 @@
(set-buffer-modified-p nil))))
(provide 'message-mode-tests)
+
;;; message-mode-tests.el ends here