aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEli Zaretskii2023-11-04 15:02:07 +0200
committerEli Zaretskii2023-11-04 15:02:07 +0200
commit3a17780b87b6ac07ff2e685a5f4b29e6abce29ef (patch)
treeeace5e1f3fe2530e867f0ac203fa79c7a6a090e9 /test
parentac59e30273b161d29f06d6e8155a2b4496412429 (diff)
downloademacs-3a17780b87b6ac07ff2e685a5f4b29e6abce29ef.tar.gz
emacs-3a17780b87b6ac07ff2e685a5f4b29e6abce29ef.zip
; Improve commentary in 'files-tests-save-buffer-read-only-file'.
Diffstat (limited to 'test')
-rw-r--r--test/lisp/files-tests.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/files-tests.el b/test/lisp/files-tests.el
index 77a4c22ed6a..3492bd701b2 100644
--- a/test/lisp/files-tests.el
+++ b/test/lisp/files-tests.el
@@ -1754,6 +1754,9 @@ Ensure that the issues from bug#66546 are fixed."
1754 (signal 'file-error "Write failed"))) 1754 (signal 'file-error "Write failed")))
1755 1755
1756 (let* (;; Sanitize environment. 1756 (let* (;; Sanitize environment.
1757 ;; The tests below test text for equality, so we need to
1758 ;; disable any code- and EOL-conversions to avoid false
1759 ;; positives and false negatives.
1757 (coding-system-for-read 'no-conversion) 1760 (coding-system-for-read 'no-conversion)
1758 (coding-system-for-write 'no-conversion) 1761 (coding-system-for-write 'no-conversion)
1759 (auto-save-default nil) 1762 (auto-save-default nil)