X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F12-fail.t;h=7a25704dabc35578fe396b1ed014005c625940f4;hb=a493f16db9433c842ea2d3ea15f6d260ea4896ac;hp=a4729c3527f0bc2a40d9ded560b3ae2e3657f7eb;hpb=116204768b5f4bcbd85550b94742acc4175d5caf;p=catagits%2FTest-NoTabs.git diff --git a/t/12-fail.t b/t/12-fail.t index a4729c3..7a25704 100644 --- a/t/12-fail.t +++ b/t/12-fail.t @@ -15,7 +15,7 @@ $inc = "-I $inc" if $inc; local $/ = undef; open my $fh, '<', $outfile or die $!; my $content = <$fh>; - like( $content, qr/^not ok 1 - Found tabs in '[^']*' on line 4/m, 'tabs found in tmp file 1' ); + like( $content, qr/^not ok 1 - No tabs in '[^']*' on line 4/m, 'tabs found in tmp file 1' ); unlink $outfile; system("rm -rf $dir"); } @@ -27,7 +27,7 @@ $inc = "-I $inc" if $inc; open my $fh, '<', $outfile or die $!; local $/ = undef; my $content = <$fh>; - like( $content, qr/^not ok 1 - Found tabs in '[^']*' on line 12/m, 'tabs found in tmp file2 ' ); + like( $content, qr/^not ok 1 - No tabs in '[^']*' on line 12/m, 'tabs found in tmp file2 ' ); unlink $outfile; system("rm -rf $dir"); } @@ -39,7 +39,7 @@ $inc = "-I $inc" if $inc; open my $fh, '<', $outfile or die $!; local $/ = undef; my $content = <$fh>; - like( $content, qr/^not ok 1 - Found tabs in '[^']*' on line 6/m, 'tabs found in tmp file 3' ); + like( $content, qr/^not ok 1 - No tabs in '[^']*' on line 6/m, 'tabs found in tmp file 3' ); unlink $outfile; system("rm -rf $dir"); }