[CDBI] Test suite 04-lazy.t failing
Matt S Trout
dbix-class at trout.me.uk
Mon Aug 8 17:41:50 BST 2005
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
> 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 188.8.131.52),
> 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
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.
More information about the ClassDBI