Skip to content

Commit 2b8fb53

Browse files
committed
Add style/indent to the tests macro
1 parent 5d81fde commit 2b8fb53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/hyperfiddle/rcf.cljc

+3-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ convenience, defaults to println outside of tests context."}
103103
(when-some [file (resolve-file env ns-sym)]
104104
(str/starts-with? (.getPath file) current-dir)))))
105105

106-
(defmacro tests [& body]
106+
(defmacro tests
107+
{:style/indent 1}
108+
[& body]
107109
(let [body `(~@body nil) ; return nil like comment, unlike do
108110
name (gen-name &form)
109111
ns (if (:js-globals &env)

0 commit comments

Comments
 (0)