Skip to content

Commit

Permalink
Use plan
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Oct 11, 2019
1 parent 150dad9 commit 0165476
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions t/base/ua_handlers.t
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
use strict;
use warnings;

use Devel::Confess;
use Test::More;

use LWP::UserAgent ();
use HTTP::Request ();
use HTTP::Response ();

plan tests => 2;

# Prevent environment from interfering with test:
delete $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME};
delete $ENV{HTTPS_CA_FILE};
Expand Down Expand Up @@ -44,5 +45,3 @@ subtest 'request_prepare' => sub {
is($effective_request->uri,'http://mmm.example.com/',
'the request should have been modified by the handler');
};

done_testing();

0 comments on commit 0165476

Please sign in to comment.