Skip to content

Commit 234cade

Browse files
yuhan0bbatsov
authored andcommitted
Refactor clojure-no-space-after-tag
Consolidate into single predicate, make collection-tag-regexp obsolete
1 parent 61f1088 commit 234cade

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

clojure-mode-syntax-test.el

-9
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,6 @@
7575
(backward-prefix-chars)
7676
(expect (bobp))))))
7777

78-
(describe "clojure-no-space-after-tag"
79-
(it "should allow allow collection tags"
80-
(dolist (tag '("#::ns" "#:ns" "#ns" "#:f.q/ns" "#f.q/ns" "#::"))
81-
(with-clojure-buffer tag
82-
(expect (clojure-no-space-after-tag nil ?{) :to-be nil)))
83-
(dolist (tag '("#$:" "#/f" "#:/f" "#::f.q/ns" "::ns" "::" "#f:ns"))
84-
(with-clojure-buffer tag
85-
(expect (clojure-no-space-after-tag nil ?{))))))
86-
8778
(describe "fill-paragraph"
8879

8980
(it "should work within comments"

0 commit comments

Comments
 (0)