t4018: convert perl pattern tests to the new infrastructure
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>
This commit is contained in:

committed by
Junio C Hamano

parent
bfa7d01413
commit
2d08413ba1
10
t/t4018/perl-skip-forward-decl
Normal file
10
t/t4018/perl-skip-forward-decl
Normal file
@ -0,0 +1,10 @@
|
||||
package RIGHT;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use parent qw(Exporter);
|
||||
our @EXPORT_OK = qw(round finalround);
|
||||
|
||||
sub other; # forward declaration
|
||||
|
||||
# ChangeMe
|
Reference in New Issue
Block a user