[squeak-dev] assert:equals: in Object

Eliot Miranda eliot.miranda at gmail.com
Tue Oct 13 02:02:48 UTC 2020


On Mon, Oct 12, 2020 at 12:27 PM Jakob Reschke <forums.jakob at resfarm.de>
wrote:

> Eliot Miranda-2 wrote
> > - appealing to the SUnit community to reverse the order of arguments to
> > assert:equals:, plus a rewrite rule that reversed the obvious cases where
> > the first argument is a literal constant.
>
> For what it is worth, Pharo has just swapped the parameters... which makes
> all "portable" test cases awkward.
>

Then IMO we should follow suit.  For once I agree with them ;-)

> --
> Sent from: http://forum.world.st/Squeak-Dev-f45488.html
>
>

-- 
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201012/aab9645f/attachment.html>


More information about the Squeak-dev mailing list