diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-07-04 18:06:14 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-07-04 18:06:14 -0400 |
commit | 33a055a139517143c2975d2eae8964b5a5e9bd16 (patch) | |
tree | ec3e16d25a56e22f7e4c271259a97c70cff8b54c /t/anon.t | |
parent | b4b3a71a15ecdab51ea01043e95fd59875bb35a1 (diff) | |
download | package-stash-xs-33a055a139517143c2975d2eae8964b5a5e9bd16.tar.gz package-stash-xs-33a055a139517143c2975d2eae8964b5a5e9bd16.zip |
stop using Test::Requires here
Package::Anon isn't available on all perl versions, so the BAIL_OUT
behavior when running release tests isn't appropriate here
Diffstat (limited to 't/anon.t')
-rw-r--r-- | t/anon.t | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5,7 +5,11 @@ use Test::More; use Test::Fatal; use lib 't/lib'; -use Test::Requires 'Package::Anon'; +BEGIN { + if (!eval { require Package::Anon; 1 }) { + plan skip_all => "Package::Anon is required for this test"; + } +} use Package::Stash; use Symbol; |