Fix final failed test count output being in the wrong place

This commit is contained in:
Nathan McCarty 2024-12-31 16:06:25 -05:00
parent f085e8e14b
commit 5080b94b32

View file

@ -77,7 +77,7 @@ multi MAIN(
colored('tests failed', 'red bold underline');
}
$total-failures += $package-failures;
say '';
}
}
say '';
if $total-failures == 0 {
@ -86,4 +86,3 @@ multi MAIN(
say $total-failures, ' ', colored('tests failed', 'red bold underline');
}
}
}