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

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

[elpa] externals/pyim 458f546 2/2: Fix test error.


From: ELPA Syncer
Subject: [elpa] externals/pyim 458f546 2/2: Fix test error.
Date: Thu, 9 Dec 2021 19:57:30 -0500 (EST)

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

    Fix test error.
    
    * tests/pyim-tests.el (pyim-test-dregcache-backend): Fixed.
    * Makefile (test): Fixed.
---
 Makefile            | 2 +-
 tests/pyim-tests.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 88e7fb9..2eaf47e 100644
--- a/Makefile
+++ b/Makefile
@@ -18,4 +18,4 @@ deps:
 
 .PHONY: test
 test: deps clean
-       @$(EMACS) -batch -Q -L . -l deps/xr.el -l deps/async.el -l 
deps/popup.el -l pyim.el -l tests/pyim-tests.el
+       @$(EMACS) -batch -Q -L . -l deps/xr.el -l deps/async.el -l 
deps/popup.el -l deps/pyim-basedict.el -l pyim.el -l tests/pyim-tests.el
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index 6935c8a..0bfe729 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -424,7 +424,7 @@
     (setq words (pyim-dcache-get "zun"))
     (should (string= (nth 0 words) "尊"))
     ;; `pyim-dregcache-get' calls `pyim-pymap-py2cchar-get' before return 
result
-    (should (eq (length words) 44))))
+    (should (eq (length words) 51))))
 
 (ert-run-tests-batch-and-exit)
 ;; * Footer



reply via email to

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