We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
def...-
it
1 parent 06a01df commit bdcc372Copy full SHA for bdcc372
test/clojure-mode-util-test.el
@@ -375,7 +375,7 @@
375
(deftest ^{:a {}} complex-metadata)
376
(deftest |no-metadata)"
377
(expect (clojure-find-def) :to-equal '("deftest" "no-metadata"))))
378
- (it "should recognize defn-"
+ (it "should recognize defn-, with or without metadata"
379
(with-clojure-buffer-point
380
"(def foo 1)
381
(defn- bar |[x y z] z)
@@ -388,7 +388,8 @@
388
389
"(defn- |^{:doc \"A function\"} foo [] 1)
390
(defn- ^:private bar 2)"
391
- (expect (clojure-find-def) :to-equal '("defn-" "foo")))
+ (expect (clojure-find-def) :to-equal '("defn-" "foo"))))
392
+ (it "should recognize def...-, with or without metadata"
393
394
"(def-n- |^{:doc \"A function\"} foo [] 1)
395
0 commit comments