Skip to content

Commit 1f238da

Browse files
committed
Merge branch 'bg/maint-gitweb-test-lib' into maint
* bg/maint-gitweb-test-lib: t/gitweb-lib: Don't pass constant to decode_utf8
2 parents a49e9af + 598df7b commit 1f238da

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
@@ -80,7 +80,7 @@ if ! test_have_prereq PERL; then
8080
test_done
8181
fi
8282

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

0 commit comments

Comments
 (0)