From: Jesse Luehrs Date: Tue, 17 May 2011 21:33:07 +0000 (-0500) Subject: pod coverage and such X-Git-Tag: 2.0100~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3900cea16697e2d5ddc24b6284c5c1f2a858c6b0;p=gitmo%2FMoose.git pod coverage and such --- diff --git a/dist.ini b/dist.ini index 57b9d3e..e903ac4 100644 --- a/dist.ini +++ b/dist.ini @@ -52,6 +52,7 @@ package = Class::MOP::MiniTrait package = Class::MOP::Mixin namespace = Class::MOP::Mixin package = Moose::Deprecated +package = Moose::Error::Util package = Moose::Meta::Attribute::Native::Trait package = Moose::Meta::Class::Immutable::Trait package = Moose::Meta::Method::Accessor::Native diff --git a/lib/Moose/Error/Util.pm b/lib/Moose/Error/Util.pm index af1c7ce..e66882f 100644 --- a/lib/Moose/Error/Util.pm +++ b/lib/Moose/Error/Util.pm @@ -43,3 +43,12 @@ sub create_error { } 1; + +__END__ + +=pod + +=for pod_coverage_needs_some_pod + +=cut + diff --git a/xt/release/pod-coverage.t b/xt/release/pod-coverage.t index 4222060..0479802 100644 --- a/xt/release/pod-coverage.t +++ b/xt/release/pod-coverage.t @@ -107,6 +107,7 @@ my %trustme = ( 'Class::MOP::Package' => [ 'get_method_map', 'wrap_method_body' ], 'Moose' => ['init_meta', 'throw_error'], 'Moose::Error::Confess' => ['new'], + 'Moose::Error::Util' => ['.+'], 'Moose::Meta::Attribute' => [ qw( interpolate_class throw_error @@ -139,6 +140,7 @@ my %trustme = ( generate_reader_method_inline generate_writer_method generate_writer_method_inline + new ) ], 'Moose::Meta::Method::Constructor' => [