report-string

circumspec.report.nested

  • (report-string last-result this-result)
Colorize all the lines but the last in green, and the last based on
the type of the result.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source circumspec/report/nested.clj:78 top

(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)])))
Vars in circumspec.report.nested/report-string: defn let
Used in 0 other vars

Comments top

No comments for report-string. Log in to add a comment.