Creates a whitelist of testers. Testers take a var and unless
they return true the test will fail.
(defn whitelist
"Creates a whitelist of testers. Testers take a var and unless
they return true the test will fail."
([test & tests]
{:type :whitelist
:tests (apply combine-matchers test tests)})
([test]
{:type :whitelist
:tests test}))
Comments top
No comments for whitelist. Log in to add a comment.