diff options
author | Johannes Sixt <j6t@kdbg.org> | 2009-03-01 19:52:51 +0100 |
---|---|---|
committer | Johannes Sixt <j6t@kdbg.org> | 2009-03-19 21:44:04 +0100 |
commit | fae74a04d75e820c5150cfb0cb4c044bf4488007 (patch) | |
tree | 221772f30f5451e3e6fb3ccebfaf118002c5ac34 /t/t9500-gitweb-standalone-no-errors.sh | |
parent | 7fd3ef1fd73dffdb9b3445893ab579723ce08e74 (diff) | |
download | git-fae74a04d75e820c5150cfb0cb4c044bf4488007.tar.gz |
test suite: Use 'say' to say something instead of 'test_expect_success'
Some tests report that some tests will be skipped. They used
'test_expect_success' with a trivially successful test. Nowadays we have
the helper function 'say' for this purpose.
In on case, 'say_color skip' is replaced by 'say' because the former is
not intended as a public API.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Diffstat (limited to 't/t9500-gitweb-standalone-no-errors.sh')
-rwxr-xr-x | t/t9500-gitweb-standalone-no-errors.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9500-gitweb-standalone-no-errors.sh b/t/t9500-gitweb-standalone-no-errors.sh index 6ed10d0933..1b78e28c44 100755 --- a/t/t9500-gitweb-standalone-no-errors.sh +++ b/t/t9500-gitweb-standalone-no-errors.sh @@ -74,7 +74,7 @@ safe_chmod () { . ./test-lib.sh perl -MEncode -e 'decode_utf8("", Encode::FB_CROAK)' >/dev/null 2>&1 || { - test_expect_success 'skipping gitweb tests, perl version is too old' : + say 'skipping gitweb tests, perl version is too old' test_done exit } |