aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/interactive.fish
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2014-09-23 22:50:28 -0700
committerGravatar Kevin Ballard <kevin@sb.org>2014-09-23 22:50:28 -0700
commit1563501868d8c2cd4b14ff44b58d6a3e8317a559 (patch)
tree0c263476808f09959a00ecccaa983a3ef7e90ed5 /tests/interactive.fish
parent5f82f721d2bcdf13b04eefc52358c5c6746e4041 (diff)
Fix missing "1 test failed" line
Also tweak colored output to reset before the newline instead of after, so travis behaves better (for some reason reset causes travis to display the line in black).
Diffstat (limited to 'tests/interactive.fish')
-rw-r--r--tests/interactive.fish3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/interactive.fish b/tests/interactive.fish
index 03ebacf7..c3c7b609 100644
--- a/tests/interactive.fish
+++ b/tests/interactive.fish
@@ -74,6 +74,7 @@ if test $failed -eq 0
say green "All tests completed successfully"
exit 0
else
- say red "$failed test"(test $failed -eq 1; or echo s)" failed"
+ set plural (test $failed -eq 1; or echo s)
+ say red "$failed test$plural failed"
exit 1
end