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

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

[elpa] externals/pyim 69c0f0e: * tests/pyim-tests.el (pyim-tests-pyim-im


From: ELPA Syncer
Subject: [elpa] externals/pyim 69c0f0e: * tests/pyim-tests.el (pyim-tests-pyim-import-words-and-counts): Try to fix this test.
Date: Mon, 13 Dec 2021 04:57:23 -0500 (EST)

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

    * tests/pyim-tests.el (pyim-tests-pyim-import-words-and-counts): Try to fix 
this test.
---
 tests/pyim-tests.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index c75fb31..f0cf90a 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -566,9 +566,9 @@
 
 ;; ** pyim-import 相关单元测试
 (ert-deftest pyim-tests-pyim-import-words-and-counts ()
-  ;; 这个测试目前主要用于手工测试,在 github 上这个测试无法通过的。
-  :expected-result :failed
-  (let ((file (make-temp-file "pyim-tests-import")))
+  (let ((pyim-dcache-directory
+         (file-name-as-directory (make-temp-name "pyim-dcache-")))
+        (file (make-temp-file "pyim-tests-import")))
     ;; 删除测试用词条
     (dolist (x '("测㤅" "测嘊" "测伌"))
       (pyim-process-delete-word x))



reply via email to

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