Open ggeoffrey opened 2 years ago
(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.
thrown?
t/assert-expr
I propose to rename thrown? to throws? or even :throws
throws?
:throws
Compiler warning:
thrown?
is defined byt/assert-expr
, it should not be resolved in the current ns if used in an assertion.