develooper Front page | perl.datetime | Postings from May 2011

Re: DateTime-Event-Recurrence-0.16-KmV3No unit test failing

Thread Previous
From:
Dave Rolsky
Date:
May 24, 2011 19:49
Subject:
Re: DateTime-Event-Recurrence-0.16-KmV3No unit test failing
Message ID:
alpine.DEB.2.00.1105242148420.4509@urth.org
On Tue, 24 May 2011, Ben Tilly wrote:

> Installing a tangentially related package I encountered this.
>
> Here is the failing unit test.
>
> t/08stress.t .......... 1/14
> #   Failed test 'next nanosecond'
> #   at t/08stress.t line 27.
> #          got: '2004-01-01T00:00:00.500000'
> #     expected: '2004-01-01T00:00:00.000500000'
>
> #   Failed test 'next nanosecond'
> #   at t/08stress.t line 30.
> #          got: '2004-01-01T00:00:00.700000'
> #     expected: '2004-01-01T00:00:00.000700000'
>
> #   Failed test 'next nanosecond'
> #   at t/08stress.t line 33.
> #          got: '2005-01-01T00:00:00.500000'
> #     expected: '2005-01-01T00:00:00.000500000'
> t/08stress.t .......... 11/14 # Looks like you failed 3 tests of 14.
> t/08stress.t .......... Dubious, test returned 3 (wstat 768, 0x300)
> Failed 3/14 subtests

This is fixed with the latest DateTime (0.70). It's broken in 0.67-0.69.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About