On Thu, Sep 13, 2001 at 07:41:39PM -0400, Kirrily 'Skud' Robert wrote:
> Anyone know what might cause this?  The same reporter also had the same
> problem with CPAN-Test-Reporter.
> $ perl -Mblib t/*.t
> Using /perl/cpantest/Module-InstalledVersion-0.02/blib
> ok 1 - use Module::InstalledVersion;
> ok 2 - create new object for CPAN
> ok 3 - Picked up version of CPAN
> ok 4 - create new object for Fcntl
> ok 5 - Picked up version of Fcntl
> ok 6 - create new object for Text::Wrap
> ok 7 - Picked up version of Text::Wrap
> 1..7

I grew up to expect the 1..7 line to be the first thing emitted from a
test script.

ISTR that the new harness doesn't have that requirement, but this
patch hacks on the test so as not to confuse the older folks.

--- miv.t.orig  Fri Sep 14 10:59:38 2001
+++ miv.t       Fri Sep 14 11:00:11 2001
@@ -1,6 +1,6 @@
 #!/usr/local/bin/perl -w
 
-use Test::More 'no_plan';
+use Test::More tests => 7;
 
 package Catch;
 


-- 
Richard Clamp <[EMAIL PROTECTED]>

Reply via email to