[Cuis-dev] Small fix: remove explicit return from asserts

Hernán Wilkinson hernan.wilkinson at 10pines.com
Mon Jan 23 13:20:37 PST 2023


Hi,
 attached is a change set with a small change.
 Is a good design rule when testing not to use the returned object of an
assertion, that is why assertions should not have an explicit return.
 As part of a test lint that a student is writing for his master thesis, we
found 3 assert methods with explicits returns.
 The attached .cs removes those explicits returns.

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/20230123/aec3cb09/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 5651-RemoveReturnFromAsserts-HernanWilkinson-2023Jan23-18h14m-HAW.001.cs.st
Type: application/octet-stream
Size: 738 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230123/aec3cb09/attachment.obj>


More information about the Cuis-dev mailing list