summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell+paredit@mumble.net>2020-11-30 17:37:44 +0000
committerTaylor R Campbell <campbell+paredit@mumble.net>2020-11-30 17:37:44 +0000
commit568d4d48efbc63898ae4658f77d1151cc4f8a530 (patch)
tree21a993997360336acebe2c4e1fdec100593495ba
parent2ecb5f0dcf9110f8a713bac687e5719890c09d37 (diff)
More slurpage edge cases.
-rw-r--r--test.el12
1 files changed, 12 insertions, 0 deletions
diff --git a/test.el b/test.el
index 6b7dbea..5a1955c 100644
--- a/test.el
+++ b/test.el
@@ -1282,6 +1282,7 @@ Four arguments: the paredit command, the text of the buffer
("\"\" |\"\"" error)
;; ("\"\" \"|\"" error) ;++ Urk...
("\"\" \"\"|" error)
+
("|(#\\x) y" error)
("(|#\\x) y" "(|#\\x y)")
("(#|\\x) y" "(#|\\x y)")
@@ -1298,6 +1299,11 @@ Four arguments: the paredit command, the text of the buffer
("(\"x\")| y" error)
("(\"x\") |y" error)
("(\"x\") y|" error)
+ ("|()y" error)
+ ("(|)y" "(|y)")
+ (xfail "(|y)" error)
+ ("()|y" error)
+ ("()y|" error)
("|(x)y" error)
(xfail "(|x)y" "(|x y)" error)
(xfail"(x|)y" "(x| y)" error)
@@ -1361,6 +1367,7 @@ Four arguments: the paredit command, the text of the buffer
("\"\" |\"\"" error)
("\"\" \"|\"" "\"\\\"\\\"|\"")
("\"\" \"\"|" error)
+
("|x (#\\y)" error)
("x| (#\\y)" error)
("x |(#\\y)" error)
@@ -1377,6 +1384,11 @@ Four arguments: the paredit command, the text of the buffer
("x (\"y|\")" "(x \"y|\")" "(\"x y|\")")
("x (\"y\"|)" "(x \"y\"|)")
("x (\"y\")|" error)
+ ("|x()" error)
+ ("x|()" error)
+ ("x(|)" "(x|)")
+ (xfail "(x|)" error)
+ ("x()|" error)
("|x(y)" error)
("x|(y)" error)
(xfail "x(|y)" "(x |y)" error)