X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fdist%2Fpod_coverage.t;h=b98a5550c85cd2042c7fdaa9bf3a7326545db2ea;hb=399b9455;hp=a3acbe4078e8eaf855d063d71534df2dcc8ada30;hpb=c0329273268971824784f239f32c7246e68da9c5;p=dbsrgits%2FDBIx-Class.git diff --git a/xt/dist/pod_coverage.t b/xt/dist/pod_coverage.t index a3acbe4..b98a555 100644 --- a/xt/dist/pod_coverage.t +++ b/xt/dist/pod_coverage.t @@ -5,7 +5,6 @@ use warnings; use strict; use Test::More; -use List::Util 'first'; use Module::Runtime 'require_module'; use lib 'maint/.Generated_Pod/lib'; use DBICTest; @@ -32,6 +31,7 @@ my $exceptions = { ignore => [qw/ MODIFY_CODE_ATTRIBUTES component_base_class + inject_base mk_classdata mk_classaccessor /] @@ -58,6 +58,7 @@ my $exceptions = { store_column get_column get_columns + get_dirty_columns has_column_loaded /], }, @@ -115,6 +116,8 @@ my $exceptions = { /] }, + 'DBIx::Class::_TempExtlib*' => { skip => 1 }, + 'DBIx::Class::Admin::*' => { skip => 1 }, 'DBIx::Class::ClassResolver::PassThrough' => { skip => 1 }, 'DBIx::Class::Componentised' => { skip => 1 }, @@ -166,7 +169,7 @@ foreach my $module (@modules) { SKIP: { my ($match) = - first { $module =~ $_ } + grep { $module =~ $_ } (sort { length $b <=> length $a || $b cmp $a } (keys %$ex_lookup) ) ;