diff options
author | Karen Etheridge <ether@cpan.org> | 2017-10-01 13:39:11 -0700 |
---|---|---|
committer | Karen Etheridge <ether@cpan.org> | 2017-10-01 13:39:21 -0700 |
commit | 937ee3de83ab3d282cee1b3785a22d68af71aee9 (patch) | |
tree | 798150e0d4f21ddd4cc4f39f4d4f9f05fc20a471 | |
parent | fbe38ab897c3c6e935fe3961b4dd1ce67aeace14 (diff) | |
download | uri-937ee3de83ab3d282cee1b3785a22d68af71aee9.tar.gz |
switch from stringy to block eval, with guard against [AutoPrereqs]
-rw-r--r-- | t/scheme-exceptions.t | 2 |
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) { |