Mouse::Util::does_role() respects $thing->does() method
[gitmo/Mouse.git] / t / 800_with_external / 001-pod-coverage-moose.t
CommitLineData
5d4df3f8 1use strict;
2use warnings;
3use Test::More;
4use FindBin;
5use File::Spec;
6use lib File::Spec->catfile($FindBin::Bin, 'lib');
7
8plan skip_all => 'This test requires Pod::Coverage::Moose' unless eval "use Pod::Coverage::Moose; 1";
9plan tests => 1;
10
11# support Pod::Coverage::Moose
12# https://rt.cpan.org/Ticket/Display.html?id=47744
13
21f7fab9 14my $cov = Pod::Coverage::Moose->new(package => 'Foo');
15is $cov->coverage, 0.5
16 or diag "why unrated? - " . $cov->why_unrated;