X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fdist%2Fpod_coverage.t;h=e2389af4ce9615bc952bc2cc2ccc92f1e406dab8;hb=73f54e27;hp=97d4975105f26eac6f992f6d28b46499490f36e0;hpb=b482a0958732d987d8f742c7bdd61816a898f083;p=dbsrgits%2FDBIx-Class.git diff --git a/xt/dist/pod_coverage.t b/xt/dist/pod_coverage.t index 97d4975..e2389af 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; @@ -30,10 +29,7 @@ require Test::Pod::Coverage; my $exceptions = { 'DBIx::Class' => { ignore => [qw/ - MODIFY_CODE_ATTRIBUTES component_base_class - mk_classdata - mk_classaccessor /] }, 'DBIx::Class::Optional::Dependencies' => { @@ -71,6 +67,10 @@ my $exceptions = { resolve_prefetch STORABLE_freeze STORABLE_thaw + get_rsrc_instance_specific_attribute + set_rsrc_instance_specific_attribute + get_rsrc_instance_specific_handler + set_rsrc_instance_specific_handler /], }, 'DBIx::Class::ResultSet' => { @@ -116,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 }, @@ -167,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) ) ;