Skip to content

Commit

Permalink
(chibi test): Put newlines after test results etc in verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dpk committed Nov 6, 2023
1 parent fe93067 commit a277a5d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions lib/chibi/test.scm
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,8 @@
(if (not (eq? status 'ERROR)) (display " ")) ; pad
(display (test-status-message status))
(display "]")
(test-print-failure indent status info))
(test-print-failure indent status info)
(newline))
((eq? status 'SKIP))
(else
(display (test-status-code status))
Expand Down Expand Up @@ -816,7 +817,8 @@
(display (plural " subgroup" subgroups-pass))
(display " passed.")))
(when (test-group-ref group 'verbose)
(display (test-group-line group #f)))
(display (test-group-line group #f))
(newline))
(cond
((test-group-ref group 'parent)
=> (lambda (parent)
Expand All @@ -830,8 +832,11 @@

(define test-default-group-reporter
(case-lambda
((group) (close-group group))
((group parent) (display (test-group-line group 'open)))))
((group)
(close-group group))
((group parent)
(display (test-group-line group 'open))
(newline))))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; parameters
Expand Down

0 comments on commit a277a5d

Please sign in to comment.