[CDBI] Test suite 04-lazy.t failing

Dominique Quatravaux dom at idealx.com
Mon Aug 8 17:30:22 BST 2005


-----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.

Regards,

- --
Dominique QUATRAVAUX                           Ingénieur senior
01 44 42 00 08                                 IDEALX

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC94idMJAKAU3mjcsRAtcSAJ9h7kDFr8IA/yzKxC0ejI2vEgf2jwCgkP0r
TWHjnYQ8HlzUHbqgvPYsJeM=
=NPds
-----END PGP SIGNATURE-----






More information about the ClassDBI mailing list