diff options
author | Taylor R Campbell <campbell@mumble.net> | 2011-04-11 18:51:53 +0000 |
---|---|---|
committer | Taylor R Campbell <campbell@mumble.net> | 2011-04-11 18:51:53 +0000 |
commit | de2dc8edb2984ad23c0ff71c8e4ffe9308b50241 (patch) | |
tree | a3a9905d908cdfc69e8cedc8570ce25768323e48 | |
parent | 67a3f00f2a029a74134d3d45079f97296db4e862 (diff) |
Add some trivial tests for `paredit-wrap-sexp'.
Ignore-this: 798d9dcc323a87749b2fdd7e1351c7c
darcs-hash:20110411185153-00fcc-e45fea206945d21a4483d2b0273932644c1dd977
-rw-r--r-- | test.el | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -196,6 +196,17 @@ Four arguments: the paredit command, the text of the buffer ;; `comment-search-forward' to wind up inside a character or a ;; string? )) + +(paredit-test 'paredit-wrap-sexp + '(("|foo" "(|foo)") + ("|foo bar" "(|foo) bar") + ("|foo bar baz" "(|foo) bar baz") + ("|foo bar_" "(|foo bar)") + ("|foo bar_ baz" "(|foo bar) baz"))) + +(let ((current-prefix-arg '(4))) + (paredit-test 'paredit-wrap-sexp + '(("(foo |bar baz)" "(foo (|bar baz))")))) (paredit-test 'paredit-forward-delete '(("f|oo" "f|o") |