• (whitelist test & tests)
  • (whitelist test)
Creates a whitelist of testers. Testers take a var and unless
they return true the test will fail.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source net/licenser/sandbox/tester.clj:30 top

(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}))
Vars in net.licenser.sandbox.tester/whitelist: defn
Used in 0 other vars

Comments top

No comments for whitelist. Log in to add a comment.