mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-12 05:31:14 +02:00
Print newlines after test summary
This commit is contained in:
parent
462fa61bc5
commit
5a62fedc1a
1 changed files with 2 additions and 2 deletions
4
test/run
4
test/run
|
@ -94,10 +94,10 @@ function OUT() {
|
|||
|
||||
function summary() {
|
||||
if [[ $ERRORS -gt 0 ]]; then
|
||||
printf '\n\n %d of %d tests failed.' "$ERRORS" "$TESTS" >&2
|
||||
printf '\n\n %d of %d tests failed.\n\n' "$ERRORS" "$TESTS" >&2
|
||||
exit 1
|
||||
else
|
||||
printf '\n\n %d tests passed.' "$TESTS" >&2
|
||||
printf '\n\n %d tests passed.\n\n' "$TESTS" >&2
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue