diff options
author | Jesse Luehrs <doy@tozt.net> | 2015-01-17 18:57:31 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2015-01-17 18:57:31 -0500 |
commit | 9476f116bd8953f8e12f531a7b80e380297d84fc (patch) | |
tree | 100a2579086c2a90011ee03b9b23e36840970421 /t | |
parent | 90b5d6af819663a4d70ec0911f77dae5f59193e8 (diff) | |
download | eval-closure-9476f116bd8953f8e12f531a7b80e380297d84fc.tar.gz eval-closure-9476f116bd8953f8e12f531a7b80e380297d84fc.zip |
can't use test::requires here
since it now bails out in release tests
Diffstat (limited to 't')
-rw-r--r-- | t/lexical-subs.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/lexical-subs.t b/t/lexical-subs.t index dbcd178..db425c9 100644 --- a/t/lexical-subs.t +++ b/t/lexical-subs.t @@ -3,7 +3,11 @@ use strict; use warnings; use Test::More; -use Test::Requires '5.018'; +BEGIN { + if (!eval { require 5.018; 1 }) { + plan skip_all => "this test requires 5.18"; + } +} use 5.018; use Eval::Closure; |