[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/paredit eb138b5 135/224: Replace `paredit-wrap-sexp' tests
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/paredit eb138b5 135/224: Replace `paredit-wrap-sexp' tests by `paredit-wrap-round' &c. tests. |
Date: |
Sat, 7 Aug 2021 09:22:35 -0400 (EDT) |
branch: elpa/paredit
commit eb138b57dc6004392352b73320cb3e84ab7ba262
Author: Taylor R Campbell <campbell@mumble.net>
Commit: Taylor R Campbell <campbell@mumble.net>
Replace `paredit-wrap-sexp' tests by `paredit-wrap-round' &c. tests.
Ignore-this: 9bfd202133e386063b4dcddd04d24db6
darcs-hash:20110411225954-00fcc-e1942057e4e99674b84d39d6d2d024aa6c15d528
---
test.el | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/test.el b/test.el
index 99434f5..ad33488 100644
--- a/test.el
+++ b/test.el
@@ -158,6 +158,21 @@ Four arguments: the paredit command, the text of the buffer
'(("(foo #\\|( )" "(foo #\\()\n|")
("(foo|\n ) ;bar" "(foo) ;bar\n|")
("((foo|\n) (bar))" "((foo)\n |(bar))")))
+
+(paredit-test-bracketed '((paredit-wrap-round ?\( ?\))
+ (paredit-wrap-square ?\[ ?\])
+ (paredit-wrap-curly ?\{ ?\})
+ ;; (paredit-wrap-angled ?\< ?\>)
+ )
+ '(("|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-newline
'(("\"foo|bar\"" "\"foo\n|bar\"")
@@ -198,17 +213,6 @@ 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")
- [nongnu] elpa/paredit 67caf7e 071/224: Eliminate fboundp check for `check-parens' in `paredit-check-region'., (continued)
- [nongnu] elpa/paredit 67caf7e 071/224: Eliminate fboundp check for `check-parens' in `paredit-check-region'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit ae53a2c 077/224: Show point in `paredit-semicolon' example., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 26a3ddb 085/224: Add `paredit-doublequote' examples at end of string and in comment., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 33463ae 102/224: Third argument to `indent-region' is not optional in GNU Emacs 21., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit c91bc2f 099/224: Fix bug in change to check structure in backward-delete of comment end., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 7e3b3f0 096/224: In `paredit-recenter-on-sexp', handle S-expressions larger than screen., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 6918d89 108/224: Don't indent while the buffer is in intermediate broken states., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit adfccc5 123/224: Check `paredit-kill' in a comment more carefully., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 23afafc 128/224: Add some trivial tests for region deletion/killing commands., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 2e61740 134/224: Fix docstring of `paredit-check-region-for-delete'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit eb138b5 135/224: Replace `paredit-wrap-sexp' tests by `paredit-wrap-round' &c. tests.,
ELPA Syncer <=
- [nongnu] elpa/paredit a795774 143/224: Set `show-trailing-whitespace' to nil when running tests., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit f349cc5 003/224: Changes for version 7., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit f588dcb 007/224: Changes for version 11., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit a04d9b6 010/224: Changes for version 14, introducing fancy comment handling., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 342fee5 017/224: Changes for version 21., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 1bb9831 002/224: Changes for versions 2--6., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 36f2f18 009/224: Changes for version 13., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 446316e 034/224: Ignore errors while indenting after inserting a comment., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit fd2c399 049/224: Implement `paredit-kill-ring-save' and `paredit-kill-region'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 79b5d96 054/224: Bump version: 22 beta -> 23., ELPA Syncer, 2021/08/07