Colorize all the lines but the last in green, and the last based on
the type of the result.
(defn report-string
"Colorize all the lines but the last in green, and the last based on
the type of the result."
[last-result this-result]
(let [lines (report-lines last-result this-result)]
(join-lines
[(success-string (join-lines (butlast lines)))
(result-string (last lines) this-result)])))
Comments top
No comments for report-string. Log in to add a comment.