Skip Menu |

This queue is for tickets about the MooseX-Getopt CPAN distribution.

Report information
The Basics
Id: 59156
Status: resolved
Priority: 0/
Queue: MooseX-Getopt

People
Owner: Nobody in particular
Requestors: erez.schatz [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: bad plan on 107_no_auto_help.t while upgrading to MooseX-Getopt-0.30
This is perl 5, version 12, subversion 0 (v5.12.0) built for MSWin32-x86-multi-thread (Windows XP 5.1.2600) The test file declares: plan skip_all => 'This test needs MooseX::SimpleConfig 0.07' unless eval { require MooseX::SimpleConfig && MooseX::SimpleConfig->VERSION(0.07); } but goes on to perform a test in END { ok(!$fail_on_exit, 'getoptions() lives'); which causes CPAN to fail testing with Test Summary Report ------------------- t/107_no_auto_help.t (Wstat: 0 Tests: 1 Failed: 1) Failed test: 1 Parse errors: Bad plan. You planned 0 tests but ran 1. Files=26, Tests=320, 7 wallclock secs ( 0.08 usr + 0.11 sys = 0.19 CPU) Result: FAIL After installing MooseX::SimpleConfig the test passes. However, this being a non-requisite module, installation without it fails, hence Critical.
Fixed in 0.31, released this morning. Apologies for the issue. http://pause.perl.org/incoming/MooseX-Getopt-0.31.tar.gz