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 9ab3ab9 commit 4287ec9Copy full SHA for 4287ec9
test/clojure-mode-external-interaction-test.el
@@ -84,6 +84,24 @@
84
(paredit-open-round))))
85
86
87
+(describe "Interactions with delete-trailing-whitespace"
88
+ (when-refactoring-it "should not delete trailing commas"
89
+ "(def foo
90
+ \\\"foo\\\": 1,
91
+ \\\"bar\\\": 2}
92
+
93
+(-> m
94
+ (assoc ,,,
95
+ :foo 123))"
96
97
98
99
100
101
102
103
+ (delete-trailing-whitespace)))
104
105
(provide 'clojure-mode-external-interaction-test)
106
107
0 commit comments