Frank Shearar uploaded a new version of Tests to project The Trunk: http://source.squeak.org/trunk/Tests-fbs.185.mcz
==================== Summary ====================
Name: Tests-fbs.185 Author: fbs Time: 15 January 2013, 4:12:33.425 pm UUID: 5581e85e-42bf-4e0c-8ddc-34de14b8bb6b Ancestors: Tests-fbs.184
#assert:equals: (and even more so #assert:equals:description:) is just so much nicer than a bare #assert:.
=============== Diff against Tests-fbs.184 ===============
Item was changed: ----- Method: ExceptionTests>>testHandlerFromAction (in category 'testing-outer') ----- testHandlerFromAction "A test ensuring that nested exceptions work as expected."
| result | result := [ [ [self error: 'trigger error'] on: ZeroDivide do: [ :ex | 'inner' ] ] on: Error do: [ :ex | 3 / 0 ] ] on: ZeroDivide do: [ :ex | 'outer' ]. + self assert: 'outer' equals: result description: 'Incorrect handler'. - self assert: result = 'outer'. !
packages@lists.squeakfoundation.org