We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 756d694 commit 9da2f8dCopy full SHA for 9da2f8d
clojure-mode-refactor-threading-test.el
@@ -227,6 +227,26 @@
227
(clojure-unwind)
228
(clojure-unwind))
229
230
+ (when-refactoring-it "should unwind N steps with numeric prefix arg"
231
+ "(->> [1 2 3 4 5]
232
+ (filter even?)
233
+ (map square)
234
+ sum)"
235
+
236
+ "(->> (sum (map square (filter even? [1 2 3 4 5]))))"
237
238
+ (clojure-unwind 3))
239
240
+ (when-refactoring-it "should unwind completely with universal prefix arg"
241
242
243
244
245
246
+ "(sum (map square (filter even? [1 2 3 4 5])))"
247
248
+ (clojure-unwind '(4)))
249
250
(when-refactoring-it "should unwind with function name"
251
"(->> [1 2 3 4 5]
252
sum
0 commit comments