Skip to content

Commit 016c4b8

Browse files
committed
Merge branch 'bg/maint-gitweb-test-lib'
* bg/maint-gitweb-test-lib: t/gitweb-lib: Don't pass constant to decode_utf8 Conflicts: t/gitweb-lib.sh
2 parents 53b1708 + 598df7b commit 016c4b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/gitweb-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if ! test_have_prereq PERL; then
9797
test_done
9898
fi
9999

100-
perl -MEncode -e 'decode_utf8("", Encode::FB_CROAK)' >/dev/null 2>&1 || {
100+
perl -MEncode -e '$e="";decode_utf8($e, Encode::FB_CROAK)' >/dev/null 2>&1 || {
101101
skip_all='skipping gitweb tests, perl version is too old'
102102
test_done
103103
}

0 commit comments

Comments
 (0)