summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYiming Chen <dsdshcym@gmail.com>2020-05-26 07:50:54 +0800
committerninrod <filipe.silva@gmail.com>2020-06-03 19:16:23 -0300
commit346d4d85fcf1f9517e9c4991c1efe68b4130f93a (patch)
treeb3d3008eb33341ad23921c4b85cf8f0404fa6b2b /test
parent1c34944d8c98da4a2385d24ee89eef9cdf569a12 (diff)
Fix dot repeat with counted motions1.1.1devel
- rel: #133
Diffstat (limited to 'test')
-rw-r--r--test/evil-surround-test.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/evil-surround-test.el b/test/evil-surround-test.el
index 73d4b69..1da5d37 100644
--- a/test/evil-surround-test.el
+++ b/test/evil-surround-test.el
@@ -166,6 +166,14 @@
"one two 'three'"
("W.") ;; repeat delete surround
"one two three"))
+ (ert-info ("repeat surrounding with count")
+ (evil-test-buffer
+ "[o]ne two three\none two three"
+ (turn-on-evil-surround-mode)
+ ("ys2wb")
+ "(one two) three\none two three"
+ ("j.")
+ "(one two) three\n(one two) three"))
(ert-info ("visual surrounding")
(evil-test-buffer
"<one two> three\nfour\n"