diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-07-21 18:50:38 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-07-21 18:50:38 -0400 |
commit | f870cc33bcacf9872677dae83a5d781e72664fb9 (patch) | |
tree | a30753a10f7c9542d6a53261e05bff72847d49f1 /t/fun/recursion.t | |
parent | dfed2b264de2652cfdeecbaf8cb9b059c77b44cf (diff) | |
download | parse-keyword-f870cc33bcacf9872677dae83a5d781e72664fb9.tar.gz parse-keyword-f870cc33bcacf9872677dae83a5d781e72664fb9.zip |
apparently Test::Requires doesn't allow loading without importing
Diffstat (limited to 't/fun/recursion.t')
-rw-r--r-- | t/fun/recursion.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/fun/recursion.t b/t/fun/recursion.t index 72bd23b..a12306c 100644 --- a/t/fun/recursion.t +++ b/t/fun/recursion.t @@ -4,7 +4,11 @@ use warnings; use Test::More; use lib 't/fun/lib'; -use Test::Requires 'Sub::Name'; +BEGIN { + if (!eval { require Sub::Name }) { + plan skip_all => "This test requires Sub::Name"; + } +} BEGIN { if (!eval { require 5.016; 1 }) { |