diff --git a/t/plots.t b/t/plots.t index 642d4d3..bd07d0e 100644 --- a/t/plots.t +++ b/t/plots.t @@ -322,7 +322,7 @@ sub readfile { my $path = $_[0]; - open my $fd, '<', $path or die "Couldn't open '$path'"; + open my $fd, '<', $path or return ''; local $/ = undef; my $dat = <$fd>; close $fd;