Skip to content

Commit bdcc372

Browse files
SophieBosiobbatsov
authored andcommitted
Split def...- test into new it group
1 parent 06a01df commit bdcc372

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: test/clojure-mode-util-test.el

+3-2
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@
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)
@@ -388,7 +388,8 @@
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)"

0 commit comments

Comments
 (0)