File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 375
375
(deftest ^{:a {}} complex-metadata)
376
376
(deftest |no-metadata)"
377
377
(expect (clojure-find-def) :to-equal '(" deftest" " no-metadata" ))))
378
- (it " should recognize defn-"
378
+ (it " should recognize defn-, with or without metadata "
379
379
(with-clojure-buffer-point
380
380
" (def foo 1)
381
381
(defn- bar |[x y z] z)
388
388
(with-clojure-buffer-point
389
389
" (defn- |^{:doc \" A function\" } foo [] 1)
390
390
(defn- ^:private bar 2)"
391
- (expect (clojure-find-def) :to-equal '(" defn-" " foo" )))
391
+ (expect (clojure-find-def) :to-equal '(" defn-" " foo" ))))
392
+ (it " should recognize def...-, with or without metadata"
392
393
(with-clojure-buffer-point
393
394
" (def-n- |^{:doc \" A function\" } foo [] 1)
394
395
(defn- ^:private bar 2)"
You can’t perform that action at this time.
0 commit comments