From: Eli Zaretskii Date: Sat, 4 Nov 2023 13:02:07 +0000 (+0200) Subject: ; Improve commentary in 'files-tests-save-buffer-read-only-file'. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3a17780b87b6ac07ff2e685a5f4b29e6abce29ef;p=emacs.git ; Improve commentary in 'files-tests-save-buffer-read-only-file'. --- 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." (signal 'file-error "Write failed"))) (let* (;; Sanitize environment. + ;; The tests below test text for equality, so we need to + ;; disable any code- and EOL-conversions to avoid false + ;; positives and false negatives. (coding-system-for-read 'no-conversion) (coding-system-for-write 'no-conversion) (auto-save-default nil)