We're updating the issue view to help you get more done. 

clojure.test/are does not fail with insufficient arguments

Description

If clojure.test/are is given an argument set with missing parameters, it silently ignores the extra parameters at the end instead of failing.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Clojure 1.3.0-master-SNAPSHOT user=> (use 'clojure.test) nil user=> (deftest foo (are [x y] (= x y) 1 1 2 2 3 4)) #'user/foo user=> (foo) FAIL in (foo) (NO_SOURCE_FILE:6) expected: (= 3 4) actual: (not (= 3 4)) nil user=> (deftest missing-argument (are [x y] (= x y) 1 1 2 2 3)) #'user/missing-argument user=> (missing-argument) nil ;; doesn't fail

Environment

None

Status

Assignee

Stuart Sierra

Reporter

Stuart Sierra

Labels

None

Approval

None

Patch

None

Fix versions

Affects versions

Backlog

Priority

Minor