Skip to content

Commit

Permalink
better error messages for missing files in test
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed May 14, 2017
1 parent 3a1f307 commit 24b2b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/corpus.t
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ for my $log (@ARGV ? @ARGV : glob('corpus/dists/*.changes')) {
pass "updated $parsed_file";
}
else {
my $wanted = do File::Spec->rel2abs($parsed_file) or die $@;
my $wanted = do File::Spec->rel2abs($parsed_file) or die $@||$!;
_eq $parsed, $wanted, "$log parsed into expected form";
}
}
Expand Down

0 comments on commit 24b2b34

Please sign in to comment.