Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbdcc372

Browse files
SophieBosiobbatsov
authored andcommitted
Splitdef...- test into newit group
1 parent06a01df commitbdcc372

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎test/clojure-mode-util-test.el‎

Lines changed: 3 additions & 2 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp