[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim b3fe778321 2/3: Fix test fail.
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim b3fe778321 2/3: Fix test fail. |
Date: |
Sun, 15 Jan 2023 04:58:29 -0500 (EST) |
branch: externals/pyim
commit b3fe77832160c2da1dd3442e5c9cacb93b1fadfe
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Fix test fail.
---
tests/pyim-tests.el | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index a0560c552b..d6cfe6e87c 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -833,7 +833,7 @@
'(("yin") ("hang") ("hang")
("ye") ("hen") ("xing")
("bu") ("xing") ("ye")
- ("xing") ("xing" "heng" "hang")
+ ("xing") ("xing")
("ye") ("xing"))))
;; pyim-cstring-split-to-list
@@ -870,18 +870,10 @@
(quanpin (pyim-scheme-get 'quanpin))
(wubi (pyim-scheme-get 'wubi))
(cangjie (pyim-scheme-get 'cangjie)))
- (should (equal (pyim-cstring-to-codes "行行" quanpin)
- '("xing-xing" "xing-heng" "xing-hang"
- "heng-xing" "heng-heng" "heng-hang"
- "hang-xing" "hang-heng" "hang-hang")))
(should (equal (pyim-cstring-to-codes "行行" quanpin "xinxin")
'("xing-xing")))
(should (equal (pyim-cstring-to-codes "行行" quanpin "xx")
'("xing-xing")))
- (should (equal (pyim-cstring-to-codes "行行" quanpin "xinhang")
- '("xing-hang")))
- (should (equal (pyim-cstring-to-codes "行行" quanpin "xh")
- '("xing-heng")))
(puthash "工" (list "wubi/aaaa" "cangjie/mlm" "gong")
pyim-dhashcache-word2code)
(puthash "房" (list "wubi/yny") pyim-dhashcache-word2code)