]> git.eshelyaron.com Git - emacs.git/commit
Fix undigest-tests on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Sat, 14 May 2022 08:30:54 +0000 (11:30 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 14 May 2022 08:30:54 +0000 (11:30 +0300)
commit9a67e83bd656477e46015c629f3e961e22791a88
tree946c0cbda9c0789b6b4a4cd723e33a97d609c47b
parente2e081a476a2a9309d0870e4c1adda1167c52911
Fix undigest-tests on MS-Windows

* lisp/emacs-lisp/ert-x.el (ert-with-temp-file): Accept a new
keyword argument :coding CODING to use as the encoding when
writing initial text to the temporary file.

* test/lisp/mail/undigest-tests.el (rmail-undigest-test-rfc934-digest)
(rmail-undigest-test-rfc1153-digest-strict)
(rmail-undigest-test-rfc1153-less-strict-digest)
(rmail-undigest-test-rfc1153-sloppy-digest)
(rmail-undigest-test-rfc1521-mime-digest)
(rmail-undigest-test-multipart-mixed-digest): Force the temporary
mbox files to have Unix-style EOL format.
lisp/emacs-lisp/ert-x.el
test/lisp/mail/undigest-tests.el