Syntactically broken clojure.test/are tests succeed

Description

While clojure.test/are is a very useful macro, it has one major flaw. If the assertion is syntactically incorrect, the test succeeds. Take this testcase:

See the error? The are form takes three values, but I have provided only two. The test simply passes.

Latest patch checks the number of arguments to are and throws an exception if they don't match.

Environment

None

Assignee

Stuart Sierra

Reporter

Tassilo Horn

Labels

None

Approval

Ok

Patch

Code

Fix versions

Affects versions

Priority

Minor
Configure