From 2d08413ba1ce0a1940e97a5a8af5faf40ab8d178 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Fri, 21 Mar 2014 22:07:16 +0100 Subject: 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 Signed-off-by: Junio C Hamano --- t/t4018/perl-skip-forward-decl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 t/t4018/perl-skip-forward-decl (limited to 't/t4018/perl-skip-forward-decl') diff --git a/t/t4018/perl-skip-forward-decl b/t/t4018/perl-skip-forward-decl new file mode 100644 index 0000000000..a98cb8bdad --- /dev/null +++ b/t/t4018/perl-skip-forward-decl @@ -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 -- cgit v1.2.3