Skip to content
Merged
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
5 changes: 3 additions & 2 deletions src/vouch/internal/report/console.gleam
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//// The default console reporter. Prints a line per result as events arrive,
//// buffers failures and todos, and renders details plus a summary at RunEnd.
//// buffers failures and todos, and renders todos, then failure details,
//// then a summary at RunEnd.

import gleam/dict
import gleam/int
Expand Down Expand Up @@ -60,8 +61,8 @@ fn handle(style: Style, state: State, e: Event) -> State {
}
}
event.RunEnd(tally, duration) -> {
print_failures(style, list.reverse(state.failures))
print_todos(style, list.reverse(state.todos))
print_failures(style, list.reverse(state.failures))
print_summary(style, state.discovered, tally, duration)
state
}
Expand Down
Loading