use warnings;
use Test::More tests => 9;
-use Test::Exception;
+use Test::Exception 0.21;
BEGIN {
use_ok('MooseX::Getopt');
}
{
-
package App;
use Moose;
with 'MooseX::Getopt';
has 'data' => (
- metaclass => 'MooseX::Getopt::Meta::Attribute',
+ metaclass => 'Getopt',
is => 'ro',
isa => 'Str',
default => 'file.dat',
);
has 'horse' => (
- metaclass => 'MooseX::Getopt::Meta::Attribute',
+ metaclass => 'Getopt',
is => 'ro',
isa => 'Str',
default => 'bray',
);
has 'private_stuff' => (
- metaclass => 'MooseX::Getopt::Meta::NoGetopt',
+ metaclass => 'NoGetopt',
is => 'ro',
isa => 'Int',
default => 713
);
has '_private_stuff_cmdline' => (
- metaclass => 'MooseX::Getopt::Meta::Attribute',
+ metaclass => 'Getopt',
is => 'ro',
isa => 'Int',
default => 832,