[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 3a816836d5 2/3: * tests/pyim-tests.el (pyim-tests-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 3a816836d5 2/3: * tests/pyim-tests.el (pyim-tests-pyim-cstring-words-at-point): Updated. |
Date: |
Thu, 26 May 2022 09:57:52 -0400 (EDT) |
branch: externals/pyim
commit 3a816836d52af119d825d768f36dd57be5ca8f2d
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* tests/pyim-tests.el (pyim-tests-pyim-cstring-words-at-point): Updated.
---
tests/pyim-tests.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index 67e612b8ef..1e566c5e90 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -559,7 +559,11 @@
;; 天安门<I>
(goto-char (point-max))
(should (equal (pyim-cstring-words-at-point)
- '(("天安门" 3 0) ("安门" 2 0)))))))
+ '(("天安门" 3 0) ("安门" 2 0))))
+
+ ;; <I>天安门abc
+ (goto-char (point-min))
+ (should (equal (pyim-cstring-words-at-point t) nil)))))
(ert-deftest pyim-tests-pyim-cstring-forward-or-backward-word ()
(with-temp-buffer