Don't screw the prove -l user too hard.
Florian Ragwitz [Sat, 27 Jun 2009 13:56:36 +0000 (13:56 +0000)]
t/aggregate.t

index 9b31a52..7943b5b 100644 (file)
@@ -6,7 +6,12 @@ use warnings;
 use FindBin;
 use lib "$FindBin::Bin/lib";
 
-use Test::Aggregate;
+BEGIN {
+    unless (eval { require Test::Aggregate; Test::Aggregate->VERSION('0.35_05'); 1 }) {
+        require Test::More;
+        Test::More::plan(skip_all => 'Test::Aggregate 0.35_05 required for test aggregation');
+    }
+}
 
 my $tests = Test::Aggregate->new({
     dirs          => 't/aggregate',