Skip to content

Commit 69c0088

Browse files
committed
Double each example in test-date/paredit-sandbox for multi cursor tests
1 parent 1033276 commit 69c0088

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

test-data/paredit_sandbox.clj

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
;;
1010

1111

12+
(a| b (c
13+
d) e)
1214

1315
(a| b (c
1416
d) e)
@@ -17,19 +19,31 @@
1719
(aa| (c (e
1820
f)) g)
1921

22+
(aa| (c (e
23+
f)) g)
24+
2025
;; === Example 2 - comments
2126
;; Comment killed
2227
(a| ;; comment
2328
e)
2429

30+
(a| ;; comment
31+
e)
32+
2533
;; Example 3 - newline
2634
;; newline killed
2735
(a|
2836
e)
2937

38+
(a|
39+
e)
40+
3041
;; Example 4 - end of list
3142
;; Don't kill past it
3243

44+
(a b (c |)
45+
e)
46+
3347
(a b (c |)
3448
e)
3549

@@ -53,26 +67,47 @@ string. "
5367
d 19 e 31]
5468
(+ a b))
5569

70+
(let [a 23
71+
b (+ 4
72+
5
73+
9)
74+
m {:a 1}
75+
c "hello"
76+
d 19 e 31]
77+
(+ a b))
78+
5679
;; Exmaple 8 -- map key value pairs
5780
;; killing from :c includes the corresponding value
5881
{:a 1
5982
:b 2
6083
:c {:d 4
6184
:e 5}}
6285

86+
{:a 1
87+
:b 2
88+
:c {:d 4
89+
:e 5}}
90+
6391
;; Example 9 -- deleteing from #_ should delete whole expr
6492
[#_(comment
6593
(+ 2 3))]
6694

95+
[#_(comment
96+
(+ 2 3))]
97+
6798
;; Example 10 -- deleting from | should delete to eol
6899
;; | (23 34
69100
;; )
70101

71102

72-
73103
;; Example 11 -- Deleting should delete whole expr to closing ]
74104
| 24 [1]
75105

106+
| 24 [1]
107+
108+
43 [1 2
109+
3]
110+
76111
43 [1 2
77112
3]
78113

@@ -84,9 +119,17 @@ string. "
84119
;; Example 14 -- newline in string, deletes to end of string
85120
["abc| def\n ghi" "this stays"]
86121

122+
["abc| def\n ghi" "this stays"]
87123

88124
;; Example 15 -- Heisenbug should delete up to and including g]
89125
#_|[a b (c d
90126
e
91127
f) g]
128+
129+
#_|[a b (c d
130+
e
131+
f) g]
132+
133+
:a
134+
92135
:a

0 commit comments

Comments
 (0)