File tree Expand file tree Collapse file tree 1 file changed +29
-3
lines changed Expand file tree Collapse file tree 1 file changed +29
-3
lines changed Original file line number Diff line number Diff line change 2323(require 'buttercup )
2424(require 'paredit )
2525
26- (describe " Interactions with Paredit"
26+ (describe " Interactions with Paredit: "
2727 ; ; reuse existing when-refactoring-it macro
2828 (describe " it should insert a space"
2929 (when-refactoring-it " before lists"
5656 " foo' ()"
5757 (paredit-mode)
5858 (paredit-open-round)))
59- (describe " should not insert a space"
59+ (describe " it should not insert a space"
6060 (when-refactoring-it " for anonymous fn syntax"
6161 " foo #"
6262 " foo #()"
8181 " foo #?"
8282 " foo #?()"
8383 (paredit-mode)
84- (paredit-open-round))))
84+ (paredit-open-round)))
85+ (describe " reader tags"
86+ (when-refactoring-it " should insert a space before strings"
87+ " #uuid"
88+ " #uuid \"\" "
89+ (paredit-mode)
90+ (paredit-doublequote))
91+ (when-refactoring-it " should not insert a space before namespaced maps"
92+ " #::my-ns"
93+ " #::my-ns{}"
94+ (paredit-mode)
95+ (paredit-open-curly))
96+ (when-refactoring-it " should not insert a space before namespaced maps 2"
97+ " #::"
98+ " #::{}"
99+ (paredit-mode)
100+ (paredit-open-curly))
101+ (when-refactoring-it " should not insert a space before namespaced maps 3"
102+ " #:fully.qualified.ns123.-$#.%*+!"
103+ " #:fully.qualified.ns123.-$#.%*+!{}"
104+ (paredit-mode)
105+ (paredit-open-curly))
106+ (when-refactoring-it " should not insert a space before tagged vectors"
107+ " #tag123.-$#.%*+!"
108+ " #tag123.-$#.%*+![]"
109+ (paredit-mode)
110+ (paredit-open-square))))
85111
86112
87113(describe " Interactions with delete-trailing-whitespace"
You can’t perform that action at this time.
0 commit comments