On Fri, Jun 22, 2012 at 3:53 AM, Sean P. DeNigris <[email protected]>wrote:

> This pattern is common in our tests: "self assert: a = b."
>
> I much prefer "self assert: a equals: b."
>
> It makes it easier to diagnose failing tests, especially if a or b are
> expressions with side-effects. Do you agree?
>
>
I do. I use #assert:equals: in most of my tests.



> Sean
>
> --
> View this message in context:
> http://forum.world.st/assert-equals-tp4636050.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>
>


-- 
Mariano
http://marianopeck.wordpress.com

Reply via email to