Skip to content

Commit

Permalink
More accurate skip messages from cpan/Scalar-List-Utils/t/boolean*.t …
Browse files Browse the repository at this point in the history
…when running on older perls lacking SvIsBOOL
  • Loading branch information
leonerd committed Sep 3, 2021
1 parent 5a09644 commit bd5eca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpan/Scalar-List-Utils/t/boolean-thr.t
Expand Up @@ -6,7 +6,7 @@ use warnings;
use Config ();
use Scalar::Util ();
use Test::More
(grep { /isbool/ } @Scalar::Util::EXPORT_FAIL) ? (skip_all => 'isbool requires XS version') :
(grep { /isbool/ } @Scalar::Util::EXPORT_FAIL) ? (skip_all => 'isbool is not supported on this perl') :
(!$Config::Config{usethreads}) ? (skip_all => 'perl does not support threads') :
(tests => 5);

Expand Down
2 changes: 1 addition & 1 deletion cpan/Scalar-List-Utils/t/boolean.t
Expand Up @@ -5,7 +5,7 @@ use warnings;

use Scalar::Util ();
use Test::More (grep { /isbool/ } @Scalar::Util::EXPORT_FAIL)
? (skip_all => 'isbool requires XS version')
? (skip_all => 'isbool is not supported on this perl')
: (tests => 15);

Scalar::Util->import("isbool");
Expand Down

0 comments on commit bd5eca7

Please sign in to comment.