Fix final failed test count output being in the wrong place
This commit is contained in:
parent
f085e8e14b
commit
5080b94b32
13
bin/iutils
13
bin/iutils
|
@ -77,13 +77,12 @@ multi MAIN(
|
|||
colored('tests failed', 'red bold underline');
|
||||
}
|
||||
$total-failures += $package-failures;
|
||||
say '';
|
||||
}
|
||||
say '';
|
||||
if $total-failures == 0 {
|
||||
say 'All ', colored('tests passed', 'green underline');
|
||||
} else {
|
||||
say $total-failures, ' ', colored('tests failed', 'red bold underline');
|
||||
}
|
||||
}
|
||||
say '';
|
||||
if $total-failures == 0 {
|
||||
say 'All ', colored('tests passed', 'green underline');
|
||||
} else {
|
||||
say $total-failures, ' ', colored('tests failed', 'red bold underline');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue