Implement strict constructors, which will warn unkown constructor arguments
[gitmo/Mouse.git] / xt / external / 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
669d9f7e 14{
15 local $TODO = 'Not supported';
5d4df3f8 16 my $cov = Pod::Coverage::Moose->new(package => 'Foo');
17 is $cov->coverage, 0.5;
669d9f7e 18}