About use of specific error
Lukas Renggli
renggli at gmail.com
Thu Mar 2 16:54:28 UTC 2006
> What is wrong with writing:
>
> IntervalTest >> testRemove
> self should: [(1 to: 3) remove: 2] raise: Exception
If you accidently write (note the typing error in the selector)
IntervalTest >> testRemove
self should: [(1 to: 3) remve: 2] raise: Exception
you get a test that always succeeds.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Squeak-dev
mailing list
|