podcoverage test now requires minimum 0.19 version for Pod::Coverage and changed...
John Napiorkowski [Wed, 23 Jul 2008 22:30:34 +0000 (22:30 +0000)]
lib/DBIx/Class/Storage/DBI/Replicated/Balancer/Random.pm
t/03podcoverage.t

index 8bbaa49..6f786d3 100644 (file)
@@ -5,7 +5,7 @@ with 'DBIx::Class::Storage::DBI::Replicated::Balancer';
 
 =head1 NAME
 
-DBIx::Class::Storage::DBI::Replicated::Balancer::Random; A 'random' Balancer
+DBIx::Class::Storage::DBI::Replicated::Balancer::Random - A 'random' Balancer
 
 =head1 SYNOPSIS
 
index 5fae09f..e3059a1 100644 (file)
@@ -1,7 +1,10 @@
 use Test::More;
 
+eval "use Pod::Coverage 0.19";
+plan skip_all => 'Pod::Coverage 0.19 required' if $@;
 eval "use Test::Pod::Coverage 1.04";
 plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
+
 plan skip_all => 'set TEST_POD to enable this test'
   unless ($ENV{TEST_POD} || -e 'MANIFEST.SKIP');