diff options
Diffstat (limited to 't/anon-basic.t')
-rw-r--r-- | t/anon-basic.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/anon-basic.t b/t/anon-basic.t index 32f5c9c..c3ef3c4 100644 --- a/t/anon-basic.t +++ b/t/anon-basic.t @@ -5,7 +5,11 @@ use lib 't/lib'; use Test::More; use Test::Fatal; -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; |