summaryrefslogtreecommitdiff
path: root/test/automated/decoder-tests.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-11-29 11:35:58 +0200
committerEli Zaretskii <eliz@gnu.org>2013-11-29 11:35:58 +0200
commita48eb50b569677999fc2f8d6b59f0901f724ddb8 (patch)
treee02973efeec27a05ea259b72734c40dc5f0e9040 /test/automated/decoder-tests.el
parentb7f79a5c4f0fc6d0ce4268249b4f247bd28c051f (diff)
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.
Diffstat (limited to 'test/automated/decoder-tests.el')
-rw-r--r--test/automated/decoder-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/automated/decoder-tests.el b/test/automated/decoder-tests.el
index 2e99fd7f11..1326e95e3d 100644
--- a/test/automated/decoder-tests.el
+++ b/test/automated/decoder-tests.el
@@ -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