Skip to content

Commit

Permalink
Change from eval BLOCK to eval EXPR in t/gsl_sf.t
Browse files Browse the repository at this point in the history
The module-loading logic needs this, for some reason: probably has
to do with a compile-time vs run-time check.
  • Loading branch information
d-lamb committed Apr 24, 2016
1 parent 8c62300 commit 14da91f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/gsl_sf.t
Expand Up @@ -15,7 +15,7 @@ BEGIN
{
use PDL::Config;
if ( $PDL::Config{WITH_GSL} ) {
eval {
eval "
use PDL::GSLSF::AIRY;
use PDL::GSLSF::BESSEL;
use PDL::GSLSF::CLAUSEN;
Expand Down Expand Up @@ -44,7 +44,7 @@ BEGIN
use PDL::GSLSF::TRANSPORT;
use PDL::GSLSF::TRIG;
use PDL::GSLSF::ZETA;
};
";
unless ($@) {
plan tests => 3;
} else {
Expand Down

0 comments on commit 14da91f

Please sign in to comment.