diff options
Diffstat (limited to 't/fun/closure-proto.t')
-rw-r--r-- | t/fun/closure-proto.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/fun/closure-proto.t b/t/fun/closure-proto.t index 83ff3ad..ba309be 100644 --- a/t/fun/closure-proto.t +++ b/t/fun/closure-proto.t @@ -5,7 +5,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"; + } +} use Fun; |