Skip Menu |

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

Report information
The Basics
Id: 49658
Status: resolved
Priority: 0/
Queue: MooseX-App-Cmd

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

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: (no value)



Subject: [patch] Dosn't pass tests (need localize @ARGV)
perl: 5.10.1 (but I think bug exists in any version) Self test t/basic.t: # Failed test 'command died with the correct string' # at t/basic.t line 41. # got: 'the widget name is wname - frob your fat face # ' # expected: 'the widget name is wname - your fat face # ' Problem: In $cmd->run(\%opt,\@args) the command is present in the first element of the @args array, but shouldn't. Path can be obtained from my github repo: http://github.com/vovkasm/moosex-app- cmd/commit/ed791b12623e07f6c8eac7c443018db050b0fca9 (it's similar that App::Cmd doing)
Thanks, Yuval Kogman! Was fixed in 0.06