Skip to content
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

Thought the koans could use a little positive feedback #5

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/koan_engine/koans.clj
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@


(defn tests-pass? [dojo-path file-path] (defn tests-pass? [dojo-path file-path]
(u/with-dojo [dojo-path] (u/with-dojo [dojo-path]
(print "Considering" file-path "...")
(flush)
(try (load-file file-path) (try (load-file file-path)
true (do
(println "ok")
true)
(catch Exception e (catch Exception e
(println) (println)
(println "Problem in" file-path) (println "Problem in" file-path)
Expand Down