From 9476f116bd8953f8e12f531a7b80e380297d84fc Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 17 Jan 2015 18:57:31 -0500 Subject: can't use test::requires here since it now bails out in release tests --- t/lexical-subs.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 't') 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; -- cgit v1.2.3-54-g00ecf