mirror of
https://github.com/git/git.git
synced 2024-12-27 10:44:37 +08:00
2d08413ba1
There is one subtlety: The old test case 'perl pattern gets full line of POD header' does not have its own new test case, but the feature is tested nevertheless by placing the RIGHT tag at the end of the expected hunk header in t4018/perl-skip-sub-in-pod. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
9 lines
127 B
Plaintext
9 lines
127 B
Plaintext
sub RIGHTwithheredocument {
|
|
print <<"EOF"
|
|
decoy here-doc
|
|
EOF
|
|
# some lines of context
|
|
# to pad it out
|
|
print "ChangeMe\n";
|
|
}
|