summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Etheridge <ether@cpan.org>2017-10-01 13:39:11 -0700
committerKaren Etheridge <ether@cpan.org>2017-10-01 13:39:21 -0700
commit937ee3de83ab3d282cee1b3785a22d68af71aee9 (patch)
tree798150e0d4f21ddd4cc4f39f4d4f9f05fc20a471
parentfbe38ab897c3c6e935fe3961b4dd1ce67aeace14 (diff)
downloaduri-937ee3de83ab3d282cee1b3785a22d68af71aee9.tar.gz
switch from stringy to block eval, with guard against [AutoPrereqs]
-rw-r--r--t/scheme-exceptions.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/scheme-exceptions.t b/t/scheme-exceptions.t
index 2654d3f..82740be 100644
--- a/t/scheme-exceptions.t
+++ b/t/scheme-exceptions.t
@@ -5,7 +5,7 @@ use Test::More;
use URI;
plan skip_all => 'this test assumes that URI::javascript does not exist'
- if eval 'require URI::javascript';
+ if eval { +require URI::javascript };
plan tests => 4;
for (0..1) {