Fix decoder-tests test on MS-Windows.

test/automated/decoder-tests.el (ert-test-decoder-prefer-utf-8):
 Force Unix EOLs by using 'utf-8-unix', since the default of
 'utf-8' is system-dependent, while the test expects to see Unix
 EOLs.
This commit is contained in:
Eli Zaretskii 2013-11-29 11:35:58 +02:00
parent b7f79a5c4f
commit a48eb50b56
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2013-11-29 Eli Zaretskii <eliz@gnu.org>
* automated/decoder-tests.el (ert-test-decoder-prefer-utf-8):
Force Unix EOLs by using 'utf-8-unix', since the default of
'utf-8' is system-dependent, while the test expects to see Unix
EOLs.
2013-11-28 Glenn Morris <rgm@gnu.org>
* automated/Makefile.in (SEPCHAR): Use in place of PATH_SEP.

View file

@ -247,7 +247,7 @@
'unix))
(latin (decoder-tests-gen-file "utf-8.el"
(decoder-tests-file-contents 'latin)
'utf-8)))
'utf-8-unix)))
(should-not (decoder-tests-prefer-utf-8-read
ascii 'prefer-utf-8-unix nil))
(should-not (decoder-tests-prefer-utf-8-read