branch: externals/pyim
commit c1e29f8a5eb1429d241a2749610f55bf201421e0
Author: Feng Shu <tuma...@163.com>
Commit: Feng Shu <tuma...@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