Closed
Description
The single test version of defexpect
with an expected string can throw spurious errors, tho I think this is a clj-kondo issue and not an expectations issue.
(defexpect missing-body-in-when-test
"Missing body in when"
(:message (check-str "(when true)")))
"Missing body in when" is labeled as a "missing docstring" currently, due to the :lint-as
rule tying defexpect
to deftest
.
Originally posted by @NoahTheDuke in #29 (comment)