about summary refs log tree commit diff
path: root/third_party/git/t/t4034/perl
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t4034/perl')
-rw-r--r--third_party/git/t/t4034/perl/expect13
-rw-r--r--third_party/git/t/t4034/perl/post22
-rw-r--r--third_party/git/t/t4034/perl/pre22
3 files changed, 57 insertions, 0 deletions
diff --git a/third_party/git/t/t4034/perl/expect b/third_party/git/t/t4034/perl/expect
new file mode 100644
index 000000000000..a1deb6b6ade8
--- /dev/null
+++ b/third_party/git/t/t4034/perl/expect
@@ -0,0 +1,13 @@
+<BOLD>diff --git a/pre b/post<RESET>
+<BOLD>index f6610d3..e8b72ef 100644<RESET>
+<BOLD>--- a/pre<RESET>
+<BOLD>+++ b/post<RESET>
+<CYAN>@@ -4,8 +4,8 @@<RESET>
+
+package Frotz;<RESET>
+sub new {<RESET>
+	my <GREEN>(<RESET>$class<GREEN>, %opts)<RESET> = <RED>shift<RESET><GREEN>@_<RESET>;
+	return bless { <GREEN>xyzzy => "nitfol", %opts<RESET> }, $class;
+}<RESET>
+
+__END__<RESET>
diff --git a/third_party/git/t/t4034/perl/post b/third_party/git/t/t4034/perl/post
new file mode 100644
index 000000000000..e8b72ef5dcd5
--- /dev/null
+++ b/third_party/git/t/t4034/perl/post
@@ -0,0 +1,22 @@
+#!/usr/bin/perl
+
+use strict;
+
+package Frotz;
+sub new {
+	my ($class, %opts) = @_;
+	return bless { xyzzy => "nitfol", %opts }, $class;
+}
+
+__END__
+=head1 NAME
+
+frotz - Frotz
+
+=head1 SYNOPSIS
+
+  use frotz;
+
+  $nitfol = new Frotz();
+
+=cut
diff --git a/third_party/git/t/t4034/perl/pre b/third_party/git/t/t4034/perl/pre
new file mode 100644
index 000000000000..f6610d37b8aa
--- /dev/null
+++ b/third_party/git/t/t4034/perl/pre
@@ -0,0 +1,22 @@
+#!/usr/bin/perl
+
+use strict;
+
+package Frotz;
+sub new {
+	my $class = shift;
+	return bless {}, $class;
+}
+
+__END__
+=head1 NAME
+
+frotz - Frotz
+
+=head1 SYNOPSIS
+
+  use frotz;
+
+  $nitfol = new Frotz();
+
+=cut