Closed hypirion closed 10 years ago
Damn, you're totally right.
@reiddraper: should I push a fix for this now, or is the repo in lock-down until the contrib thing is settled?
@cemerick a fix would be great. It's only on lockdown for new contributors, until the move. At least as far as I understand...
Anything beside this guy that would be suitable for another release before simple-check moves to test.check?
There's #46? I'll try to get a PR for this to you tomorrow.
The form
(defspec name property)
throws an ArityException printing "Wrong number of args(1) passed to: clojure-test$defspec" when you attempt to use it.Minimal reproducible test steps:
Then replace the contents of
test/faulty_defspec/core_test.clj
with the following:Now, running
DEBUG='y' lein test
will return the following stacktrace:Issue lies within this line:
One solution to the issue is to modify the line as follows:
I didn't bother to do a PR because of the possible Contrib migration and the hassle such a PR would provide.