summaryrefslogtreecommitdiff
path: root/test/lisp/international/mule-tests.el
diff options
context:
space:
mode:
authorMattias Engdegård <mattiase@acm.org>2020-04-09 11:29:51 +0200
committerMattias Engdegård <mattiase@acm.org>2020-04-09 12:06:39 +0200
commit95dd8de1df19a8529efb66257ac78789be62ca37 (patch)
treebfe2bb196b879ec90f85744d9cceee971df75c22 /test/lisp/international/mule-tests.el
parent786887cf439450ce7d8d6fbe624e8c434e50d469 (diff)
downloademacs-95dd8de1df19a8529efb66257ac78789be62ca37.tar.gz
chinese-hz is not ASCII compatible (bug#40407)
* lisp/language/chinese.el: Disable :ascii-compatible-p for chinese-hz. * test/lisp/international/mule-tests.el (mule-hz): New test.
Diffstat (limited to 'test/lisp/international/mule-tests.el')
-rw-r--r--test/lisp/international/mule-tests.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lisp/international/mule-tests.el b/test/lisp/international/mule-tests.el
index bb96943888f..5f8e653d7c2 100644
--- a/test/lisp/international/mule-tests.el
+++ b/test/lisp/international/mule-tests.el
@@ -65,6 +65,9 @@
(should (equal (encode-coding-string "あ" 'utf-7-imap) "&MEI-"))
(should (equal (decode-coding-string "&MEI-" 'utf-7-imap) "あ")))
+(ert-deftest mule-hz ()
+ ;; The chinese-hz encoding is not ASCII compatible.
+ (should-not (coding-system-get 'chinese-hz :ascii-compatible-p)))
;; Stop "Local Variables" above causing confusion when visiting this file.