rcf
rcf copied to clipboard
`thrown?` is not resolved in cljs
(ns foo
(:require [hyperfiddle.rcf :refer [tests]]))
(tests
(inc nil) thrown? NullPointerException)
Compiler warning:
Use of undeclared Var foo/thrown?
thrown?
is defined by t/assert-expr
, it should not be resolved in the current ns if used in an assertion.
I propose to rename thrown?
to throws?
or even :throws