summaryrefslogtreecommitdiff
path: root/test/lisp/international
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-02-15 21:00:54 +0200
committerEli Zaretskii <eliz@gnu.org>2023-02-15 21:00:54 +0200
commit2550e8bb0b03ee1c2c7a17d56c9f578bbbf1a9da (patch)
tree08d6a0cc597df2c8d1f43b2a414046a2f187cdb1 /test/lisp/international
parent32795309939fe0153644ce1ff100b5fc615e6ec2 (diff)
downloademacs-2550e8bb0b03ee1c2c7a17d56c9f578bbbf1a9da.tar.gz
emacs-2550e8bb0b03ee1c2c7a17d56c9f578bbbf1a9da.tar.bz2
emacs-2550e8bb0b03ee1c2c7a17d56c9f578bbbf1a9da.zip
Fix mule-tests under en_US.UTF-8 locale
* test/lisp/international/mule-tests.el (sgml-html-meta-utf-8): Accept also utf-8-unix/dos/whatever. (Bug#61534) * lisp/international/mule.el (sgml-html-meta-auto-coding-function): Fix comparison when buffer-file-coding-system is of type 'charset'.
Diffstat (limited to 'test/lisp/international')
-rw-r--r--test/lisp/international/mule-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/international/mule-tests.el b/test/lisp/international/mule-tests.el
index 6e23d8c5421..6b76e35ae22 100644
--- a/test/lisp/international/mule-tests.el
+++ b/test/lisp/international/mule-tests.el
@@ -99,7 +99,7 @@ provide HTML fragments. Some tests override those variables."
(ert-deftest sgml-html-meta-utf-8 ()
"Baseline: UTF-8."
- (should (eq 'utf-8 (sgml-html-meta-run "utf-8"))))
+ (should (eq 'utf-8 (coding-system-base (sgml-html-meta-run "utf-8")))))
(ert-deftest sgml-html-meta-windows-hebrew ()
"A non-Unicode charset."