X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4018-diff-funcname.sh;h=8a5714912d196d0aaf681bd79363c0e6018ffaee;hb=12f0967a8a1e3c11c678de181f77d1c7883b37cf;hp=f071a8fdd11eb9da650488fee18995ad9905441f;hpb=f12c66b9bb851aa7350d40370e6adf78535c5930;p=git.git diff --git a/t/t4018-diff-funcname.sh b/t/t4018-diff-funcname.sh index f071a8fdd..8a5714912 100755 --- a/t/t4018-diff-funcname.sh +++ b/t/t4018-diff-funcname.sh @@ -125,6 +125,10 @@ test_expect_success 'perl pattern is not distracted by sub within POD' ' test_expect_funcname "=head" perl ' +test_expect_success 'perl pattern gets full line of POD header' ' + test_expect_funcname "=head1 SYNOPSIS\$" perl +' + test_expect_success 'custom pattern' ' test_config diff.java.funcname "!static !String