File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -165,9 +165,25 @@ buffer."
165
165
(with-clojure-buffer " (1 2 3|)"
166
166
(expect (cider-list-at-point) :to-equal " (1 2 3)" )))
167
167
168
- (it " handle leading @ reader macro properly"
168
+ (it " handles leading @ reader macro properly"
169
169
(with-clojure-buffer " @(1 2 3|)"
170
- (expect (cider-list-at-point) :to-equal " @(1 2 3)" ))))
170
+ (expect (cider-list-at-point) :to-equal " @(1 2 3)" )))
171
+
172
+ (it " handles leading ' reader macro properly"
173
+ (with-clojure-buffer " '(1 2 3|)"
174
+ (expect (cider-list-at-point) :to-equal " '(1 2 3)" )))
175
+
176
+ (it " handles vectors"
177
+ (with-clojure-buffer " [1 2 3|]"
178
+ (expect (cider-list-at-point) :to-equal " [1 2 3]" )))
179
+
180
+ (xit " handles sets"
181
+ (with-clojure-buffer " #{1 2 3|}"
182
+ (expect (cider-list-at-point) :to-equal " {1 2 3}" )))
183
+
184
+ (it " handles maps"
185
+ (with-clojure-buffer " {1 2 3 4|}"
186
+ (expect (cider-list-at-point) :to-equal " {1 2 3 4}" ))))
171
187
172
188
(describe " when the param 'bounds is given"
173
189
(it " returns the bounds of starting and ending positions of the sexp"
You can’t perform that action at this time.
0 commit comments