[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

sunit[s8] Exception

"on: Error do:... test"
TestCase 
   subclass: #TestException
   instanceVariableNames: ''
   category: 'sunit-s8'!

! TestException methodsFor: 'test'!
test1
   self assert:( ([true] on: Error do: [false]) == true)! !

! TestException methodsFor: 'test'!
test2
   self assert:( ([ #broken true ] on: Error do: [false]) == false)! !