emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/pyim c1e29f8a5e 1/3: Add pyim-pymap-cchars2pys-get test


From: ELPA Syncer
Subject: [elpa] externals/pyim c1e29f8a5e 1/3: Add pyim-pymap-cchars2pys-get test
Date: Mon, 16 Jan 2023 21:58:08 -0500 (EST)

branch: externals/pyim
commit c1e29f8a5eb1429d241a2749610f55bf201421e0
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    Add pyim-pymap-cchars2pys-get test
---
 tests/pyim-tests.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index 818ab5ce31..cbc30d1c84 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -301,6 +301,11 @@
   (should (equal (pyim-pymap-cchars2pys-get '("hello" "你" "好" "ma"))
                  '(("hello" "ni" "hao" "ma"))))
 
+  (should (equal (pyim-pymap-cchars2pys-get '("hello" "你" "鹢" "ma"))
+                 '(("hello" "ni" "yi" "ma")
+                   ("hello" "ni" "ni" "ma")
+                   ("hello" "ni" "hua" "ma"))))
+
   (should (equal (mapcar (lambda (x)
                            (concat (substring x 0 1)
                                    (substring x -1)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]