projects
/
Business-OnlinePayment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f56c3c9
)
- minor cleanup
author
plobbes
<plobbes>
Sat, 13 Jan 2007 17:35:54 +0000
(17:35 +0000)
committer
plobbes
<plobbes>
Sat, 13 Jan 2007 17:35:54 +0000
(17:35 +0000)
t/bop_https.t
patch
|
blob
|
history
diff --git
a/t/bop_https.t
b/t/bop_https.t
index
a67f695
..
caecf40
100644
(file)
--- 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) );