diff options
author | Taylor R Campbell <campbell@mumble.net> | 2011-04-11 22:52:40 +0000 |
---|---|---|
committer | Taylor R Campbell <campbell@mumble.net> | 2011-04-11 22:52:40 +0000 |
commit | 4723fb37b2be84f6ccaac640f33cff893cb9bc3e (patch) | |
tree | 47087cac8c92e3779e69945a6d7b7b584cad00a8 /test.el | |
parent | 951813a685cab22b8d20118fa2823ed7c6ed0cc4 (diff) |
Add and fix some tests for `(' and `)' while in a character literal.
Ignore-this: 5b769eee2b831aefae5f7440a4ef2775
darcs-hash:20110411225240-00fcc-dd7e564acf7c93f087c94d1e16f18650504fe89f
Diffstat (limited to 'test.el')
-rw-r--r-- | test.el | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -98,7 +98,8 @@ Four arguments: the paredit command, the text of the buffer ("(foo |\"bar\" baz)" "(foo (|) \"bar\" baz)") ("(foo \"bar\"| baz)" "(foo \"bar\" (|) baz)") ("foo|" "foo (|)") - ("|foo" "(|) foo"))) + ("|foo" "(|) foo") + ("\\|(" "\\|("))) (let ((current-prefix-arg 1)) (paredit-test-bracketed '((paredit-open-round ?\( ?\)) @@ -129,11 +130,12 @@ Four arguments: the paredit command, the text of the buffer (paredit-test-bracketed '((paredit-close-round ?\( ?\)) (paredit-close-square ?\[ ?\]) (paredit-close-curly ?\{ ?\}) - (paredit-close-angled ?\< ?\>)) - '(("(#\\|x)" "(#\\|x)") - ("(#\\|])" "(#\\|])") - ("(#\\| )" "(#\\| )") - ("(#\\|\")" "(#\\|\")") + ;; (paredit-close-angled ?\< ?\>) + ) + '(("(#\\|x)" "(#\\x)|") + ("(#\\|])" "(#\\])|") + ("(#\\| )" "(#\\ )|") + ("(#\\|\")" "(#\\\")|") ("(\"|\")" "(\")|\")") ("(\"|\")" "(\")|\")"))) |