[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 36cbef32fd 3/3: Fix test error again.
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 36cbef32fd 3/3: Fix test error again. |
Date: |
Sun, 15 Jan 2023 04:58:29 -0500 (EST) |
branch: externals/pyim
commit 36cbef32fde2c4a88551ab1d078ebbf33312b92c
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Fix test error again.
---
tests/pyim-tests.el | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index d6cfe6e87c..b33e2415ea 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -291,8 +291,8 @@
'("阿" "啊" "呵" "腌" "|" "嗄" "吖" "锕" "|" "|" "錒")))
(should (equal (pyim-pymap-py2cchar-get "zhua" t)
'("抓挝爪||髽|膼撾檛簻")))
- (should (equal (pyim-pymap-py2duoyinzi-get "ai")
- '("艾滋" "艾蒿" "未艾")))
+ (should (equal (pyim-pymap-py2duoyinzi-get "a")
+ '("腌臜" "吖啶")))
(should (equal (pyim-pymap-py2duoyinzi-get "ai" t)
'("艾")))
(should (equal (mapcar (lambda (x)
@@ -799,9 +799,8 @@
(should (equal (pyim-cstring--find-duoyinzi-pinyin
'("xing" "hang") '("银行"))
"hang"))
- (should (equal (pyim-cstring--find-duoyinzi-pinyin
- '("xing" "hang") '("不行" "行为"))
- "xing"))
+ (should-not (pyim-cstring--find-duoyinzi-pinyin
+ '("xing" "hang") '("不行" "行为")))
(should (equal (pyim-cstring--find-duoyinzi-pinyin
'("bu" "pi") '("不") t)