aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Baudis <pasky@ucw.cz>2005-05-14 18:01:30 +0200
committerPetr Baudis <xpasky@machine.sinus.cz>2005-05-14 18:01:30 +0200
commit94e8afa28558786d1413645fd8aaadf157fb6eb4 (patch)
treec3de6ad7d263814670dab8cefe48808df54fe360
parentd6928ebd5098452b5bce0f1a5bd3afab5c4f9225 (diff)
downloadgit-94e8afa28558786d1413645fd8aaadf157fb6eb4.tar.gz
git-94e8afa28558786d1413645fd8aaadf157fb6eb4.tar.xz
Try to make test output look better
NO changed to FAIL and ok was right-aligned with it so that it is easier to visually identify the failed tests, and the removal of # should reduce the clutter on the line and aid the eye to spot the test number better.
-rwxr-xr-xt/test-lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 079e5bd7a..9b88cc4f8 100755
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -76,13 +76,13 @@ test_debug () {
test_ok () {
test_count=$(expr "$test_count" + 1)
- say "ok #$test_count: $@"
+ say " ok $test_count: $@"
}
test_failure () {
test_count=$(expr "$test_count" + 1)
test_failure=$(expr "$test_failure" + 1);
- say "NO #$test_count: $@"
+ say "FAIL $test_count: $@"
}
test_expect_failure () {