clj-kondo hook for the single test version of defexpect
seancorfield opened this issue · 0 comments
seancorfield commented
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)