Any failing clojure.test/is assertions where non-string objects are passed in the second argument will cause the test run to fall over with a ClassCastException (it appears to retry several times).
To reporduce, run the following test with Run Test Under Caret in REPL or Run Tests in Current NS in REPL. It will break on the third assertion; gutter icons will appear for the first two assertions, but nothing after.
Any failing
clojure.test/is
assertions where non-string objects are passed in the second argument will cause the test run to fall over with aClassCastException
(it appears to retry several times).To reporduce, run the following test with
Run Test Under Caret in REPL
orRun Tests in Current NS in REPL
. It will break on the third assertion; gutter icons will appear for the first two assertions, but nothing after.It would be great if cursive could handle this more gracefully as it can be quite awkward in projects where this is commonplace.
My current workaround is to hijack
clojure.test/assert-expr
and add apr-str
tomsg
: