[Cuis-dev] assert:equal: description delayed until necessary

Hernan Wilkinson hernan.wilkinson at 10pines.com
Fri Jan 1 05:39:17 PST 2021


Hi,
 the current implementation of #assert:equals: generates the difference
string between the compared objects even though they are equal which is
unnecessary.
 Attached is a change set that only generates the diff when they are not
equal

Cheers
Hernan.

-- 

*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210101/0032f46e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4510-assertEqualsDescriptionsDelayedUntilNeccesary-HernanWilkinson-2020Dec30-19h32m-HAW.001.cs.st
Type: application/octet-stream
Size: 286 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210101/0032f46e/attachment-0001.obj>


More information about the Cuis-dev mailing list