Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

12-fail.t: fix trailing spaces in the test source itself !!!!!!

Yes, 12-fail.t was so broken that it had trailing spaces...
  • Loading branch information...
commit 1ec979a85aff746de645b4670694940728a9fb7c 1 parent c0662b4
@dolmen authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 t/12-fail.t
View
10 t/12-fail.t
@@ -13,7 +13,7 @@ $inc = "-I $inc" if $inc;
open my $fh, '<', $filename or die $!;
binmode( $fh, ':raw' );
my $content = <$fh>;
- is( $content, ascii_string(), 'Data written to file is there when we look for it later' );
+ is( $content, ascii_string(), 'Data written to file is there when we look for it later' );
}
{
@@ -57,14 +57,14 @@ sub run_ok {
unlink $outfile;
}
-sub ascii_string {
+sub ascii_string {
my $o = "<before \r\n between \r\n after \n normal >";
return $o x 3;
}
-sub make_raw_badfile {
- my $tmpdir = tempdir( CLEANUP => 1 );
- my ( $fh, $filename ) = tempfile( DIR => $tmpdir, SUFFIX => '.tXt' );
+sub make_raw_badfile {
+ my $tmpdir = tempdir( CLEANUP => 1 );
+ my ( $fh, $filename ) = tempfile( DIR => $tmpdir, SUFFIX => '.tXt' );
binmode $fh, ':raw';
print $fh ascii_string();
close $fh;
Please sign in to comment.
Something went wrong with that request. Please try again.