diff options
author | Juri Linkov <juri@linkov.net> | 2019-07-29 01:55:34 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2019-07-29 01:55:34 +0300 |
commit | 8f4faf7aa1a1b92dbd4d1512592da44e47777e4b (patch) | |
tree | 771a6fc7ac3a2997070244a9c39f02e150121770 /test/lisp/char-fold-tests.el | |
parent | be16c204d6fba6c7cf2e2cb9fda5d7f6637f12f7 (diff) | |
download | emacs-8f4faf7aa1a1b92dbd4d1512592da44e47777e4b.tar.gz emacs-8f4faf7aa1a1b92dbd4d1512592da44e47777e4b.tar.bz2 emacs-8f4faf7aa1a1b92dbd4d1512592da44e47777e4b.zip |
* lisp/char-fold.el: Rename char-fold-make-table to char-fold--make-table.
Diffstat (limited to 'test/lisp/char-fold-tests.el')
-rw-r--r-- | test/lisp/char-fold-tests.el | 80 |
1 files changed, 41 insertions, 39 deletions
diff --git a/test/lisp/char-fold-tests.el b/test/lisp/char-fold-tests.el index 0efbdcf988c..241f7bf16c8 100644 --- a/test/lisp/char-fold-tests.el +++ b/test/lisp/char-fold-tests.el @@ -171,45 +171,47 @@ (ert-deftest char-fold--test-with-customization () :tags '(:expensive-test) ;; FIXME: move some language-specific settings to defaults - (let* ((char-fold-include - (append char-fold-include - '( - (?o "ø") ;; da no nb nn - (?l "ł") ;; pl - (?æ "ae") - (?→ "->") - (?⇒ "=>") - ))) - (char-fold-exclude - (append char-fold-exclude - '( - (?a "å") ;; da no nb nn sv - (?a "ä") ;; et fi sv - (?o "ö") ;; et fi sv - (?n "ñ") ;; es - ))) - (char-fold-symmetric t) - (char-fold-table (char-fold-make-table)) - (matches - '( - ("e" "ℯ" "ḗ" "ë" "ë") - ("е" "ё" "ё") - ("ι" "ί" "ί" "ΐ") - ("ß" "ss") - ("o" "ø") - ("l" "ł") - ("æ" "ae") - ("→" "->") - ("⇒" "=>") - )) - (no-matches - '( - ("a" "å") - ("a" "ä") - ("o" "ö") - ("n" "ñ") - ("и" "й") - ))) + (let ((char-fold-include + (append char-fold-include + '( + (?o "ø") ;; da no nb nn + (?l "ł") ;; pl + (?æ "ae") + (?→ "->") + (?⇒ "=>") + ))) + (char-fold-exclude + (append char-fold-exclude + '( + (?a "å") ;; da no nb nn sv + (?a "ä") ;; et fi sv + (?o "ö") ;; et fi sv + (?n "ñ") ;; es + ))) + (char-fold-symmetric t) + (matches + '( + ("e" "ℯ" "ḗ" "ë" "ë") + ("е" "ё" "ё") + ("ι" "ί" "ί" "ΐ") + ("ß" "ss") + ("o" "ø") + ("l" "ł") + ("æ" "ae") + ("→" "->") + ("⇒" "=>") + )) + (no-matches + '( + ("a" "å") + ("a" "ä") + ("o" "ö") + ("n" "ñ") + ("и" "й") + )) + ;; Don't override global value by char-fold-update-table below + char-fold-table) + (char-fold-update-table) (dolist (strings matches) (dolist (permutation (char-fold--permutation strings)) (apply 'char-fold--test-match-exactly permutation))) |