X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=t%2Fbop_https.t;h=caecf4041cd968bff50c4c7ea334c1b51874b0e9;hb=873a729130e7a63a490afbd2db84bbfcdbe0efb8;hp=a67f695c90c0ef78f06f4bbff04c89c50c90c786;hpb=f56c3c94e514a8539f135e392cc2dedd86e56022;p=Business-OnlinePayment.git diff --git a/t/bop_https.t b/t/bop_https.t index a67f695..caecf40 100644 --- a/t/bop_https.t +++ b/t/bop_https.t @@ -8,14 +8,6 @@ my $package = "Business::OnlinePayment::HTTPS"; eval "use $package;"; # HTTPS support is optional -if ($@) { - plan( skip_all => "$package: $@\n" ); -} -else { - plan( tests => 1 ); -} +plan( $@ ? ( skip_all => "$package: $@\n" ) : ( tests => 1 ) ); -{ - can_ok( $package, qw(https_get https_post) ); - my $obj; -} +can_ok( $package, qw(https_get https_post) );