Make Sub::Exporter an optional dep (which is kinda the whole point)
[p5sagit/Sub-Exporter-Progressive.git] / t / sex.t
diff --git a/t/sex.t b/t/sex.t
index 7f5f0e1..8a63f89 100644 (file)
--- a/t/sex.t
+++ b/t/sex.t
@@ -3,6 +3,9 @@ use strict;
 use warnings;
 
 use Test::More;
+plan skip_all => 'Sub::Exporter not installed'
+   unless eval { require Sub::Exporter };
+
 use List::Util 'first';
 use lib 't/lib';
 use A::Junk 'junk1' => { -as => 'junk' };