Skip Menu |

This queue is for tickets about the DateTimeX-Easy CPAN distribution.

Report information
The Basics
Id: 69686
Status: new
Priority: 0/
Queue: DateTimeX-Easy

People
Owner: Nobody in particular
Requestors: rhowe [...] moonfruit.com
Cc:
AdminCc:

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



Subject: Strange test failures when building
Date: Fri, 22 Jul 2011 11:08:19 +0100
To: bug-DateTimeX-Easy [...] rt.cpan.org
From: Russell Howe <rhowe [...] moonfruit.com>
I experienced the same test failures as here: http://www.cpantesters.org/cpan/report/06eb691e-9de3-11e0-8549-3bbd7ea437d6 This patch appears to resolve them - is it the correct thing to do? diff -ru DateTimeX-Easy-0.089/t/01-basic.t DateTimeX-Easy-0.089.sm/t/01-basic.t --- DateTimeX-Easy-0.089/t/01-basic.t 2010-08-24 04:12:26.000000000 +0000 +++ DateTimeX-Easy-0.089.sm/t/01-basic.t 2011-07-22 09:59:38.965087641 +0000 @@ -11,7 +11,7 @@ { my $dt = DateTimeX::Easy->parse("Mon Mar 17, 2008 4:14 pm"); - is($dt, "2008-03-17T16:14:00"); + is("$dt", "2008-03-17T16:14:00"); } my (%tz_ok); diff -ru DateTimeX-Easy-0.089/t/03-parse.t DateTimeX-Easy-0.089.sm/t/03-parse.t --- DateTimeX-Easy-0.089/t/03-parse.t 2010-08-24 04:12:26.000000000 +0000 +++ DateTimeX-Easy-0.089.sm/t/03-parse.t 2011-07-22 09:59:58.127087314 +0000 @@ -28,6 +28,6 @@ $want_tz ||= "floating"; my $dt = DateTimeX::Easy->new($from); - is($dt, $want_dt); + is("$dt", $want_dt); is($dt->time_zone->name, $want_tz); } -- Russell Howe rhowe@moonfruit.com