1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: show a list of all failed commands in the summary too

This commit is contained in:
Delyan Angelov
2021-07-15 09:52:22 +03:00
parent 7c0be629ab
commit 027be2ecd4
3 changed files with 28 additions and 5 deletions

View File

@ -33,7 +33,7 @@ fn main() {
}
for fcmd in fails {
msg := if fcmd.errmsg != '' { fcmd.errmsg } else { fcmd.line }
println(term.colorize(term.red, '> Failed: $msg '))
println(term.failed('> Failed:') + ' $msg')
}
if fails.len > 0 {
exit(1)