aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-12-02 11:26:49 -0800
committerJunio C Hamano <gitster@pobox.com>2010-12-02 11:26:49 -0800
commit1f238da57334ca0155ae7560b173eefc8c4c157a (patch)
tree18da146a678eeae899ea1ae16a25e7d7751c7baf /t
parenta49e9af4939c1223020db7915ee612d836c1bcdc (diff)
parent598df7bcb775a247cc3f20c5a8b1b36955b16462 (diff)
downloadgit-1f238da57334ca0155ae7560b173eefc8c4c157a.tar.gz
git-1f238da57334ca0155ae7560b173eefc8c4c157a.tar.xz
Merge branch 'bg/maint-gitweb-test-lib' into maint
* bg/maint-gitweb-test-lib: t/gitweb-lib: Don't pass constant to decode_utf8
Diffstat (limited to 't')
-rw-r--r--t/gitweb-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/gitweb-lib.sh b/t/gitweb-lib.sh
index 81ef2a096..1b9523d02 100644
--- a/t/gitweb-lib.sh
+++ b/t/gitweb-lib.sh
@@ -80,7 +80,7 @@ if ! test_have_prereq PERL; then
test_done
fi
-perl -MEncode -e 'decode_utf8("", Encode::FB_CROAK)' >/dev/null 2>&1 || {
+perl -MEncode -e '$e="";decode_utf8($e, Encode::FB_CROAK)' >/dev/null 2>&1 || {
skip_all='skipping gitweb tests, perl version is too old'
test_done
}