summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@mumble.net>2013-07-06 21:11:02 +0000
committerTaylor R Campbell <campbell@mumble.net>2013-07-06 21:11:02 +0000
commitda5b1e06b77443629e9dcb210a4a53d96f674107 (patch)
treeb13d062cdde43c3c2c28b0d8ae9ec44d9d8d291a
parenta26c148244962c1365c185dbe154118c88183575 (diff)
Flesh out paredit-wrap-... tests a little.
-rw-r--r--test.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/test.el b/test.el
index b06bf6c..2125141 100644
--- a/test.el
+++ b/test.el
@@ -170,7 +170,15 @@ Four arguments: the paredit command, the text of the buffer
;; (paredit-wrap-angled ?\< ?\>)
)
'(("|foo" "(|foo)")
+ ("f|oo" "f (|oo)")
+ ("fo|o" "fo (|o)")
("|foo bar" "(|foo) bar")
+ ("f|oo bar" "f (|oo) bar")
+ ("fo|o bar" "fo (|o) bar")
+ ("foo| bar" "foo (| bar)")
+ ("foo |bar" "foo (|bar)")
+ ("foo b|ar" "foo b (|ar)")
+ ("foo ba|r" "foo ba (|r)")
("|foo bar baz" "(|foo) bar baz")))
(let ((transient-mark-mode t))