Permalink
Browse files

descriptive errors for t/whitespace.t

  • Loading branch information...
1 parent 4461fec commit 45f22f0f2ac1ad1b4b75944bcf07e0c75c631e7a @dormando dormando committed Jul 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/whitespace.t
View
@@ -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;

0 comments on commit 45f22f0

Please sign in to comment.