[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil d916244898 2/2: Add test for last selected visual are
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil d916244898 2/2: Add test for last selected visual area marks |
Date: |
Wed, 9 Nov 2022 06:58:39 -0500 (EST) |
branch: elpa/evil
commit d916244898a3bbc91a192707f71e977cf330a840
Author: Tom Dalziel <tom_dl@hotmail.com>
Commit: Tom Dalziel <33435574+tomdl89@users.noreply.github.com>
Add test for last selected visual area marks
---
evil-tests.el | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/evil-tests.el b/evil-tests.el
index 276eb7b3a8..fb7d26644e 100644
--- a/evil-tests.el
+++ b/evil-tests.el
@@ -5894,6 +5894,19 @@ Line 2"))
(error user-error "`i")
"One line is enough if we use backtick to [n]avigate")))
+(ert-deftest evil-automatic-marks-test ()
+ "Test that certain commands automatically set mark(er)s"
+ :tags '(evil)
+ (ert-info ("Visual selection sets angle-bracket marks")
+ (evil-test-buffer
+ "alpha br[a]vo charlie"
+ ("viw" [escape] "$")
+ "alpha bravo charli[e]"
+ ("`>")
+ "alpha brav[o] charlie"
+ ("`<")
+ "alpha [b]ravo charlie")))
+
(ert-deftest evil-test-flyspell-motions ()
"Test flyspell motions"
:tags '(evil motion)