diff options
-rw-r--r-- | t/jwk.t | 2 | ||||
-rw-r--r-- | t/pk_ed25519.t | 6 | ||||
-rw-r--r-- | t/wycheproof.t | 2 |
3 files changed, 7 insertions, 3 deletions
@@ -2,7 +2,7 @@ use strict; use warnings; use Test::More; -plan skip_all => "No JSON::* module installed" unless eval { require JSON::PP } || eval { require JSON::XS } || eval { require Cpanel::JSON::XS }; +plan skip_all => "JSON module not installed" unless eval { require JSON }; plan tests => 97; use Crypt::PK::RSA; diff --git a/t/pk_ed25519.t b/t/pk_ed25519.t index b724af20..28368dcc 100644 --- a/t/pk_ed25519.t +++ b/t/pk_ed25519.t @@ -1,6 +1,10 @@ use strict; use warnings; -use Test::More tests => 91; + +use Test::More; + +plan skip_all => "JSON module not installed" unless eval { require JSON }; +plan tests => 91; use Crypt::PK::Ed25519; use Crypt::Misc qw(read_rawfile); diff --git a/t/wycheproof.t b/t/wycheproof.t index 8f6cb26c..37eced53 100644 --- a/t/wycheproof.t +++ b/t/wycheproof.t @@ -6,7 +6,7 @@ use warnings; use Test::More; -plan skip_all => "No JSON::* module installed" unless eval { require JSON::PP } || eval { require JSON::XS } || eval { require Cpanel::JSON::XS }; +plan skip_all => "JSON module not installed" unless eval { require JSON }; #plan skip_all => "Temporarily disabled"; plan tests => 14339; |