[CLJ-1391] Allow logical operators on assert expressions Created: 26/Mar/14 Updated: 26/Mar/14
|Affects Version/s:||Release 1.5|
With current code, it is not possible to express logical operators on some clojure.test assert expressions. For example, this will work:
however, here will fail:
since '(thrown?)' is not an ordinary function, but looks like. This also adds confusion which is hard to explain to others unless '(is)' code was shown first.
Also, if the one would like to implement macro (e.g. 'is-not-thrown?') in form:
which could be even more confusing for a person not knowing how 'thrown?' is implemented.