[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim ca463aa652 2/2: * tests/pyim-tests.el (pyim-tests-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim ca463aa652 2/2: * tests/pyim-tests.el (pyim-tests-pyim-cloudim): Update. |
Date: |
Sun, 22 May 2022 06:57:52 -0400 (EDT) |
branch: externals/pyim
commit ca463aa6523d7ef9f81846cf98e43e536e3d4beb
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* tests/pyim-tests.el (pyim-tests-pyim-cloudim): Update.
---
tests/pyim-tests.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index 6c816e7000..9ca75210b2 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -948,7 +948,8 @@ Content-Type: text/plain; charset=utf-8
Date: Sun, 08 May 2022 00:56:13 GMT
{\"0\":[[[\"你好\",5,{\"pinyin\":\"ni'hao\",\"type\":\"IMEDICT\"}]]],\"1\":\"ni'hao\",\"result\":[null]}")
- (should (equal (pyim-cloudim-parse-baidu-buffer) '("你好"))))
+ (should (equal (pyim-cloudim-parse-baidu-buffer) '("你好")))
+ (should (equal (get-text-property 0 :comment (car
(pyim-cloudim-parse-baidu-buffer))) "(云)")))
(with-temp-buffer
(insert "HTTP/1.1 200 OK
@@ -967,7 +968,8 @@ Alt-Svc: h3=\":443\"; ma=2592000,h3-29=\":443\";
ma=2592000,h3-Q050=\":443\"; ma
Transfer-Encoding: chunked
[\"SUCCESS\",[[\"nihao\",[\"你好\"],[],{\"annotation\":[\"ni
hao\"],\"candidate_type\":[0],\"lc\":[\"16 16\"]}]]]")
- (should (equal (pyim-cloudim-parse-google-buffer) '("你好"))))
+ (should (equal (pyim-cloudim-parse-google-buffer) '("你好")))
+ (should (equal (get-text-property 0 :comment (car
(pyim-cloudim-parse-google-buffer))) "(云)")))
(when (not noninteractive)
(should (equal (pyim-cloudim:baidu "nihao" 'quanpin) '("你好")))