From 3a17780b87b6ac07ff2e685a5f4b29e6abce29ef Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 4 Nov 2023 15:02:07 +0200 Subject: [PATCH] ; Improve commentary in 'files-tests-save-buffer-read-only-file'. --- test/lisp/files-tests.el | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.5