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 375375 (deftest ^{:a {}} complex-metadata)
376376 (deftest |no-metadata)"
377377 (expect (clojure-find-def) :to-equal '(" deftest" " no-metadata" ))))
378- (it " should recognize defn-"
378+ (it " should recognize defn-, with or without metadata "
379379 (with-clojure-buffer-point
380380 " (def foo 1)
381381 (defn- bar |[x y z] z)
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+ (it " should recognize def...-, with or without metadata"
392393 (with-clojure-buffer-point
393394 " (def-n- |^{:doc \" A function\" } foo [] 1)
394395 (defn- ^:private bar 2)"
You can’t perform that action at this time.
0 commit comments