Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-MessageID CPAN distribution.

Report information
The Basics
Id: 9187
Status: resolved
Priority: 0/
Queue: Email-MessageID

People
Owner: Nobody in particular
Requestors: lars [...] thegler.dk
LTHEGLER [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.2
Fixed in: (no value)



Subject: [PATCH] Use proper Test::More specification
Test::More 'no_plan' should only be used during developement, and not be present in released code, since this weakens the test. It is also not supported by older versions of Test::More, such as the one distributed with Perl 5.005_03. This patch changes the t/*.t to specify the actual number of tests. /Lars
Download diff
application/octet-stream 385b

Message body not shown because it is not plain text.

From: rjbs [...] cpan.org
Patch attached.
diff -Nur Email-MessageID-1.31/t/defined.t Email-MessageID-1.32/t/defined.t --- Email-MessageID-1.31/t/defined.t 2004-07-03 13:00:57.000000000 -0400 +++ Email-MessageID-1.32/t/defined.t 2006-07-03 20:08:55.000000000 -0400 @@ -1,4 +1,4 @@ -use Test::More qw[no_plan]; +use Test::More tests => 8; use_ok 'Email::MessageID'; diff -Nur Email-MessageID-1.31/t/unique.t Email-MessageID-1.32/t/unique.t --- Email-MessageID-1.31/t/unique.t 2004-12-22 20:13:52.000000000 -0500 +++ Email-MessageID-1.32/t/unique.t 2006-07-03 20:09:22.000000000 -0400 @@ -1,4 +1,4 @@ -use Test::More qw[no_plan]; +use Test::More tests => 2001; use_ok 'Email::MessageID';
fixed and released -- rjbs