Skip to content

Commit 06a01df

Browse files
SophieBosiobbatsov
authored andcommitted
Also test for def-n-
1 parent 497727a commit 06a01df

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/clojure-mode-util-test.el

+5-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,11 @@
388388
(with-clojure-buffer-point
389389
"(defn- |^{:doc \"A function\"} foo [] 1)
390390
(defn- ^:private bar 2)"
391-
(expect (clojure-find-def) :to-equal '("defn-" "foo")))))
391+
(expect (clojure-find-def) :to-equal '("defn-" "foo")))
392+
(with-clojure-buffer-point
393+
"(def-n- |^{:doc \"A function\"} foo [] 1)
394+
(defn- ^:private bar 2)"
395+
(expect (clojure-find-def) :to-equal '("def-n-" "foo")))))
392396

393397
(provide 'clojure-mode-util-test)
394398

0 commit comments

Comments
 (0)