branch: externals/pyim commit 4cd9aceb58aaa645ba8ade2887ebcacdbbdf162f Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@163.com>
Fix: Test ‘pyim-tests-pyim-probe-program-mode’ redefined --- tests/pyim-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el index 6b435b4f7e..3b366d296b 100644 --- a/tests/pyim-tests.el +++ b/tests/pyim-tests.el @@ -1334,7 +1334,7 @@ Transfer-Encoding: chunked (backward-char 1) (should-not (pyim-probe-program-mode)))) -(ert-deftest pyim-tests-pyim-probe-program-mode () +(ert-deftest pyim-tests-pyim-probe-isearch-mode () ;; Isearch mode 不好写测试,这里假设 isearch 命令运行时,至少有一个 buffer 中 ;; 变量 isearch-mode 取值为 t. 参考了 `isearch-define-mode-toggle'. (let ((pyim-isearch-mode t))