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 e9c328a commit 61f1088Copy full SHA for 61f1088
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