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

tests: simplify cmd/tools/modules/testing/common.v

This commit is contained in:
Delyan Angelov
2022-05-15 12:54:22 +03:00
parent cbb24d34c9
commit b4c529066a
3 changed files with 4 additions and 8 deletions

View File

@@ -69,7 +69,7 @@ fn main() {
testing.header('Testing...')
ts.test()
println(ts.benchmark.total_message('all V _test.v files'))
if ts.failed {
if ts.failed_cmds.len > 0 {
exit(1)
}
}