aboutsummaryrefslogtreecommitdiff
path: root/evil-tests.el
diff options
context:
space:
mode:
authorAxel Forsman <axelsfor@gmail.com>2023-01-02 20:32:02 +0100
committerAxel Forsman <axelsfor@gmail.com>2023-01-08 22:15:44 +0100
commit84bd6798c70fc43ebdfbb935586bd424e00fe057 (patch)
tree5afc997d85d1fc3057c9e62e652583b294ea8a02 /evil-tests.el
parente324f8daf152301fd59b045da2331da7497aaec4 (diff)
Fix Normal mode "D"/"C" with count
Closes #1277
Diffstat (limited to 'evil-tests.el')
-rw-r--r--evil-tests.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/evil-tests.el b/evil-tests.el
index a79a775..4b8ef46 100644
--- a/evil-tests.el
+++ b/evil-tests.el
@@ -2104,7 +2104,12 @@ and for Lisp evaluation."
("0P")
"ine1 line1 line1line1 l
ine2 line2 l
-ine3 line3 line3 l\n")))
+ine3 line3 line3 l\n"))
+ (ert-info ("Delete additional whole lines with count")
+ (evil-test-buffer
+ "a[a]a\nbbb\nc\n"
+ ("2D")
+ "a\nc\n")))
(ert-deftest evil-test-delete-folded ()
"Test `evil-delete' on folded lines."