From: plobbes Date: Sat, 13 Jan 2007 17:35:54 +0000 (+0000) Subject: - minor cleanup X-Git-Tag: BUSINESS_ONLINEPAYMENT_3_00_06~12 X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-OnlinePayment.git;a=commitdiff_plain;h=873a729130e7a63a490afbd2db84bbfcdbe0efb8 - minor cleanup --- 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) );