summaryrefslogtreecommitdiff
path: root/test/evil-surround-test.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/evil-surround-test.el')
-rw-r--r--test/evil-surround-test.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/evil-surround-test.el b/test/evil-surround-test.el
index df8a03f..df71b11 100644
--- a/test/evil-surround-test.el
+++ b/test/evil-surround-test.el
@@ -37,6 +37,18 @@
"one 'two' three"
("ds'")
"one two three"))
+ (ert-info ("shortcut surrounding")
+ (evil-test-buffer
+ "One, and two. Also three.\n\n"
+ (turn-on-evil-surround-mode)
+ ("csw)")
+ "(One), and two. Also three.\n\n"
+ ("csW'")
+ "'(One),' and two. Also three.\n\n"
+ ("css.")
+ ".'(One),' and two. Also three..\n\n"
+ ("csp0")
+ "0.'(One),' and two. Also three..0\n\n"))
(ert-info ("examples from readme")
(evil-test-buffer
:visual-start nil