[CDBI] Test suite 04-lazy.t failing

[prev] [thread] [next] [Date index for 2005/08/08]

From: Dominique Quatravaux
Subject: [CDBI] Test suite 04-lazy.t failing
Date: 16:30 on 08 Aug 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=E9nieur 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=3D
=3DNPds
-----END PGP SIGNATURE-----



_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] Test suite 04-lazy.t failing
Dominique Quatravaux 16:30 on 08 Aug 2005

Re: [CDBI] Test suite 04-lazy.t failing
Matt S Trout 16:41 on 08 Aug 2005

Generated at 09:40 on 09 Aug 2005 by mariachi v0.52