mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-10 04:23:46 -05:00
Test runner's exit code reports number of failures.
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# TODO: exit with non-zero status code when tests fail.
|
|
||||||
|
|
||||||
|
|
||||||
# Clean up.
|
# Clean up.
|
||||||
rm -f *.actual
|
rm -f *.actual
|
||||||
@@ -42,3 +40,5 @@ echo "$((count_ok + count_fail)) tests"
|
|||||||
echo "$count_ok ok"
|
echo "$count_ok ok"
|
||||||
echo "$count_fail failed"
|
echo "$count_fail failed"
|
||||||
|
|
||||||
|
exit $count_fail
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user