Closed achenet closed 3 years ago
The test runner is an auto-runner, and will test one fill-in-the-blank entry at a time - so I'd recommend resetting to the original checkout from GitHub, then running lein koan run
in one terminal, and initially you should see something like this:
Starting auto-runner...
Now meditate upon 01_equalities.clj:6
---------------------
Assertion failed!
We shall contemplate truth by testing reality, via equality
(= __ true)
Now if you fill in that blank (in the code) and save the file, it'll move on to the next entry. Note that the message should be telling you the filename and line number (e.g. 01_equalities.clj:6
) where there's a failing test.
I can get the error you're describing by filling in hello
directly into that blank (so Clojure tries to find the value of that variable hello
, which is undefined, and has that error message).
If you're still having trouble, it would help to see the exact changes that you've made from the source repo, along with any surrounding context like the filename and line number.
Hi, thank you for your response. I reset the branch and redid the koans, and now it works.
Thank you very much for your time. :)
Hello,
I'm trying to test the first set of koans on equality, and when I run
lein koan run
orlein repl
followed by(exec "run")
, I inevitably get the following error:Unable to resolve symbol: hello in this context
I've restored the branch to the original master, and redone the changes, and the same thing keeps happening. I'm very new to Clojure, so any explaination as to why would be greatly appreciated.