Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Touch up some formatting & messaging

  • Loading branch information...
commit eac14999ddede2543bbfe68ee5d0ffd5ecba1f74 1 parent 7f2c62b
@trptcolin trptcolin authored
Showing with 3 additions and 5 deletions.
  1. +3 −5 src/koan_engine/koans.clj
View
8 src/koan_engine/koans.clj
@@ -23,12 +23,10 @@
(defn tests-pass? [dojo-path file-path]
(u/with-dojo [dojo-path]
- (print "Considering" file-path "...")
+ (print "Considering" (str file-path "..."))
(flush)
(try (load-file file-path)
- (do
- (println "ok")
- true)
+ (do (println) true)
(catch Exception e
(println)
(let [actual-error (or (.getCause e) e)
@@ -39,7 +37,7 @@
line (when-let [groups (first (re-seq #"^\[LINE (\d+)\] "
message))]
(last groups))]
- (println "Problem in"
+ (println "\nNow meditate upon"
(str file-path
(when line (str ":" line))))
(println "---------------------")
Please sign in to comment.
Something went wrong with that request. Please try again.