[Perlunit-users] Patch to fix assert_deep_equals() on circular structures.
Status: Beta
Brought to you by:
mca1001
From: Francis J. L. <fra...@co...> - 2003-01-31 22:06:02
|
Hello everyone, (I'm sending this here, altough the mailing lists seems quite dormant looking from the archives on SF.) I'm using the perl unit framework in the Lire log analyser and we have objects which have circular references. Unfortunately, assert_deep_equals() will enter infinite recursion on such structure. I'm attaching the a patch (apply using -p1) which fixes this. The patch also adds the proper check to the AssertTest unit tests. (This patch was also uploaded to the SF tracker). -- Francis J. Lacoste fr...@Co... |