> 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.

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to