Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Monday September 08, 2008
05:50 AM

Test::Builder 0.80_01 breaks Moose 0.57 tests

[ #37388 ]

In the developer release of Test::Simple, Test::Builder has been altered to die if you have any arguments after 'no_plan'. This means that some previously passing tests will fail. In fact, there are two test programs in Moose 0.57 which have this and thus fail to pass:

use Test::More no_plan => 1;

I've recommended that we warn instead of croak as I don't know how widespread this problem is (I'd just fix it, but I don't have external Subversion access at work).

I expect we'll fix this, but for the time being, please don't use 'no_plan => $plan' in your tests.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Honestly, the fact that is still in the released version of Moose is a mistake, something that got overlooked in the release engineering. However, I regularly use "no_plan => 1" during development, is it really so wrong?

    Oh well, I suspect "no_plan => ()" will still work just fine?

    - Stevan