Skip Menu |

This queue is for tickets about the Geometry-Formula CPAN distribution.

Report information
The Basics
Id: 131798
Status: new
Priority: 0/
Queue: Geometry-Formula

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Test suite fails without Test::Exception
If Test::Exception is not installed, then the test suite fails like this: ... You tried to plan twice at t/annulus.t line 10. BEGIN failed--compilation aborted at t/annulus.t line 11. # Looks like your test exited with 2 before it could output anything. t/annulus.t ......................... Dubious, test returned 2 (wstat 512, 0x200) Failed 6/6 subtests ... I think the problem is that there was a plan defined first (in the "use Test::More ..." line) and then another plan (in the "plan skip_all ..." line). The fix is to use a plain "use Test::More;", and define the plan after the "plan skip_all ..." line using "plan tests => 6;".