-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
t4034 (diff --word-diff): add a minimum Perl drier test vector
Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information
Junio C Hamano
committed
Jan 18, 2011
1 parent
5094d15
commit 5269edf
Showing
4 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |