From: Dave Rolsky Date: Wed, 18 Mar 2009 17:21:35 +0000 (-0500) Subject: Anchor the trustme regex X-Git-Tag: 0.72_01~66 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f37b8c3c306159d6411c22cc957d2a1664c2b15a;p=gitmo%2FMoose.git Anchor the trustme regex --- diff --git a/xt/pod_coverage.t b/xt/pod_coverage.t index 1f6b5ba..21c274a 100644 --- a/xt/pod_coverage.t +++ b/xt/pod_coverage.t @@ -27,7 +27,7 @@ for my $module ( sort @modules ) { my $trustme = []; if ( $trustme{$module} ) { my $methods = join '|', @{ $trustme{$module} }; - $trustme = [qr/$methods/]; + $trustme = [qr/^(?:$methods)$/]; } pod_coverage_ok(