Skip to content

Commit

Permalink
descriptive errors for t/whitespace.t
Browse files Browse the repository at this point in the history
  • Loading branch information
dormando committed Jul 30, 2012
1 parent 4461fec commit 45f22f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/whitespace.t
Expand Up @@ -29,7 +29,7 @@ BEGIN {
use Test::More tests => scalar(@files);

foreach my $f (@files) {
open(my $fh, $f) or die;
open(my $fh, $f) or die "Cannot open file $f: $!";
my $before = do { local $/; <$fh>; };
close ($fh);
my $after = $before;
Expand Down

0 comments on commit 45f22f0

Please sign in to comment.