Re: [CDBI] Test suite 04-lazy.t failing
[prev]
[thread]
[next]
[Date index for 2005/08/08]
On Mon, Aug 08, 2005 at 06:30:22PM +0200, Dominique Quatravaux wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> perl5.8.5 -Iblib/lib -Iblib/arch t/04-lazy.t
> 1..25
> ok 1 - Pri
> ok 2 - Essential
> ok 3 - things
> ok 4 - horizon
> ok 5 - vertical
> not ok 6 - All
> # Failed test (t/04-lazy.t at line 24)
>
> Using a hand-built Perl 5.8.5 under Debian sarge (Linux 2.6.11.7),
> Test::More 0.60 (which may matter, see below).
>
> Upon closer examination, it appears that Test::More::eq_set is messing
> around with the ordering of stringifiable references, causing the test
> to fail (and all the tests above to succeed by pure chance!)
>
> Solution: the first 6 test cases should stringify explicitly the
> return values of Lazy->columns() before comparing them with the
> expected results.
This is fixed in Tony's trunk but he hasn't released a version with the fix
to CPAN.
The Class::DBI::Sweet copy of 04lazy.t is fixed like that and that version
*is* on CPAN.
--
Matt S Trout Website: http://www.shadowcatsystems.co.uk
Technical Director E-mail: mst (at) shadowcatsystems.co.uk
Shadowcat Systems Ltd.
_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi
|
|
Re: [CDBI] Test suite 04-lazy.t failing
Matt S Trout 16:41 on 08 Aug 2005
|