Subject: | Module fails test with latest Getopt::Long::Descriptive |
Due to changes in Getopt::Long::Descriptive, this thing goes boooooom:
travis-4:MooseX-Getopt-0.21-Fs24LM mark$ perl -MGetopt::Long::Descriptive -E 'say
Getopt::Long::Descriptive->VERSION()'
0.076
travis-4:MooseX-Getopt-0.21-Fs24LM mark$ perl -Ilib t/001_basic.t
1..69
ok 1 - use MooseX::Getopt;
ok 2 - The object isa Moose::Meta::Attribute
ok 3 - The object isa MooseX::Getopt::Meta::Attribute
ok 4 - MooseX::Getopt::Meta::Attribute->can('cmd_flag')
ok 5 - MooseX::Getopt::Meta::Attribute->can('cmd_aliases')
ok 6 - The object isa Moose::Meta::Attribute
ok 7 - The object isa MooseX::Getopt::Meta::Attribute
ok 8 - MooseX::Getopt::Meta::Attribute->can('cmd_flag')
ok 9 - MooseX::Getopt::Meta::Attribute->can('cmd_aliases')
ok 10 - The object isa Moose::Meta::Attribute
ok 11 - The object isa MooseX::Getopt::Meta::Attribute
ok 12 - MooseX::Getopt::Meta::Attribute->can('cmd_flag')
ok 13 - MooseX::Getopt::Meta::Attribute->can('cmd_aliases')
ok 14 - The object isa Moose::Meta::Attribute
ok 15 - The object isa MooseX::Getopt::Meta::Attribute
ok 16 - MooseX::Getopt::Meta::Attribute->can('cmd_flag')
ok 17 - MooseX::Getopt::Meta::Attribute->can('cmd_aliases')
ok 18 - The object isa App
ok 19 - ... verbosity is off as expected
ok 20 - ... length is 24 as expected
ok 21 - ... data is file.dat as expected
ok 22 - ... libs is [] as expected
ok 23 - ... details is {} as expected
ok 24 - The object isa App
ok 25 - ... verbosity is turned on as expected
ok 26 - ... length is 50 as expected
ok 27 - ... data is file.dat as expected
ok 28 - ... libs is [] as expected
ok 29 - ... details is {} as expected
perverse option names given: f at
/opt/perl5/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 509
Getopt::Long::Descriptive::OptObjFactory::new_opt_obj('Getopt::Long::Descriptive::OptO
bjFactory', 'HASH(0x9d08e0)') called at
/opt/perl5/lib/site_perl/5.10.1/Getopt/Long/Descriptive.pm line 361
Getopt::Long::Descriptive::describe_options('usage: %c %o', 'ARRAY(0x9d0900)',
'ARRAY(0x9cf040)', 'ARRAY(0x9cecd0)', 'ARRAY(0x9d03f0)', 'ARRAY(0x9ced30)',
'ARRAY(0x9d0b10)', 'ARRAY(0x9d0ae0)', 'ARRAY(0x9d0da0)', ...) called at
lib/MooseX/Getopt.pm line 91
eval {...} called at lib/MooseX/Getopt.pm line 88
MooseX::Getopt::_parse_argv('App', 'options', 'ARRAY(0x9ce4b0)', 'params',
'HASH(0x9d0600)') called at lib/MooseX/Getopt.pm line 53
MooseX::Getopt::new_with_options('App') called at t/001_basic.t line 119
# Looks like you planned 69 tests but ran 29.
# Looks like your test exited with 2 just after 29.