[Cuis-dev] Small fix: remove explicit return from asserts
Juan Vuletich
juan at cuis.st
Tue Jan 24 10:49:14 PST 2023
On 1/23/2023 6:20 PM, Hernán Wilkinson via Cuis-dev wrote:
> 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 Wilkinson
> Agile 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
Now at GitHub.
Thanks!
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230124/1d460c11/attachment.htm>
More information about the Cuis-dev
mailing list