Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Text-vCard CPAN distribution.

Report information
The Basics
Id: 34044
Status: resolved
Priority: 0/
Queue: Text-vCard

People
Owner: Nobody in particular
Requestors: codehelp [...] debian.org
Cc:
AdminCc:

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



Subject: Problems with test case error checks with perl 5.10
Date: Thu, 13 Mar 2008 11:14:09 +0000
To: bug-Text-vCard [...] rt.cpan.org
From: Neil Williams <codehelp [...] debian.org>
See Debian bug #467285 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467285 The problem arises only in the test cases: t/01-node.t eval { Text::vCard::Node::new(undef, { 'fields' => ['value'] }); }; like($@, qr/Use of uninitialized value in bless/,'Errors if no class supplied'); perl 5.10 outputs a different error string: Use of uninitialized value $class in bless Similarly in t/02-vcard.t eval { Text::vCard::new(undef); }; like($@, qr/Use of uninitialized value in bless/,'Errors if no class supplied'); Similarly in t/03-addressbook.t eval { Text::vCard::Addressbook::new(undef); }; like($@,qr/Use of uninitialized value in bless/,'new() - ok error when no proto supplied'); Maybe the tests can be made less strict? -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

From: LLAP [...] cpan.org
Thanks - fixed in version 2.02 hitting CPAN now.