Em  14/10/2009  17:11,  Alexandre  Bergel <[email protected]> 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?


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

Reply via email to