Skip to content

Commit 937ee3d

Browse files
switch from stringy to block eval, with guard against [AutoPrereqs]
1 parent fbe38ab commit 937ee3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/scheme-exceptions.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use Test::More;
55
use URI;
66

77
plan skip_all => 'this test assumes that URI::javascript does not exist'
8-
if eval 'require URI::javascript';
8+
if eval { +require URI::javascript };
99
plan tests => 4;
1010

1111
for (0..1) {

0 commit comments

Comments
 (0)