Skip to content

Commit

Permalink
show status + reason if lwp-http-tiny.t is skipped because of eu.http…
Browse files Browse the repository at this point in the history
…bin.org problems
  • Loading branch information
eserte committed Jun 26, 2023
1 parent f886985 commit 808d633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/lwp-http-tiny.t
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ my $httpbin_url = 'http://eu.httpbin.org';

{
my $resp = $ua->get($httpbin_url);
plan skip_all => "Cannot fetch successfully from $httpbin_url" if !$resp->{success};
plan skip_all => "Cannot fetch successfully from $httpbin_url ($resp->{status} $resp->{reason})" if !$resp->{success};
}

plan 'no_plan';
Expand Down

0 comments on commit 808d633

Please sign in to comment.