summaryrefslogtreecommitdiffstats
path: root/t/anon.t
diff options
context:
space:
mode:
Diffstat (limited to 't/anon.t')
-rw-r--r--t/anon.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/anon.t b/t/anon.t
index 8b7f7aa..0e37604 100644
--- a/t/anon.t
+++ b/t/anon.t
@@ -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;