Oct. 14, 2009
10:06 p.m.
Em 14/10/2009 17:11, Alexandre Bergel <alexandre@bergel.eu> escreveu:
In Squeak 3.10 TestCase >> assert: aBooleanOrBlock Squeak 3.8, Dolphin and VAST (I don't know others) have: TestCase
assert: aBoolean So...is there a reason of doing that? Is this expected?
I do not see any particular reason. But having Object>>assert: aBlock is important, since one can simply redefine assert: in a class to supress all assertions.
Which begs the question: then why the same method is re-implemented in TestCase anyway?