-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testrunner fails to find clojure.core/pcalls
in unit test even though it works locally
#38
Comments
Ah I can see that this issue has been discussed in issue #24 and should apparently be fixed by exercism/clojure PR 426. However it seems that I'm still seeing this so something is still off. |
I pasted your solution into the site and it passes for me, so I'm unsure how to reproduce the error. Is it still failing for you? |
I am guessing that the local copy of If that's the case, you could add it: (defn pcalls
"Executes the no-arg fns in parallel, returning a lazy sequence of
their values"
{:added "1.0"
:static true}
[& fns] (pmap #(%) fns)) Alternatively, you could update the exercise (using the link on the main web page for the bank account exercise) and re-download it to get the latest version. |
@mbjarland You can indeed update by clicking on the update message and confirming the update on the exercise page at https://exercism.org/tracks/clojure/exercises/bank-account: |
I have a solution to bank-account:
which works fine when doing
lein test
locally but fails with:when submitting the solution to the site. I had a different and more verbose solution earlier and it seems to have passed.
pcalls
is used in one of the unit tests which from what I understand are not user-changeable. Alsopcalls
is part of clojure.core which should be automatically require:d unless explicitly excluded in clojure.Not sure what is going on here.
The text was updated successfully, but these errors were encountered: