Skip to content

Commit 7e23196

Browse files
committed
Add a command to toggle negation for an expression
1 parent 02f027d commit 7e23196

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

clojure-mode-cycling-test.el

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,19 @@
143143
(search-forward "bbb))")
144144
(clojure-cycle-when))
145145

146+
(def-refactor-test test-cycle-not-add
147+
"(ala bala portokala)"
148+
"(not (ala bala portokala))"
149+
(beginning-of-buffer)
150+
(search-forward "bala")
151+
(clojure-cycle-not))
152+
153+
(def-refactor-test test-cycle-not-remove
154+
"(not (ala bala portokala))"
155+
"(ala bala portokala)"
156+
(beginning-of-buffer)
157+
(search-forward "bala")
158+
(clojure-cycle-not))
146159

147160
(provide 'clojure-mode-cycling-test)
148161

0 commit comments

Comments
 (0)