[squeak-dev] The Trunk: Tests-mt.487.mcz

commits at source.squeak.org commits at source.squeak.org
Fri May 6 14:43:32 UTC 2022


Marcel Taeumel uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-mt.487.mcz

==================== Summary ====================

Name: Tests-mt.487
Author: mt
Time: 6 May 2022, 4:43:31.842704 pm
UUID: ac02ca98-0f0d-1b4e-8ae5-250e7bd9ac42
Ancestors: Tests-mt.486, Tests-jar.476

Merges Tests-jar.476

Fix an error in my previous contribution; I used a class instead of an instance of an exception as an argument to #resignalAs:.

=============== Diff against Tests-mt.486 ===============

Item was changed:
  ----- Method: ExceptionTester>>doubleOuterResignalAsTest (in category 'tests') -----
  doubleOuterResignalAsTest
  	"ExceptionTester new doubleOuterResignalAsTest"
  
  	[[self doSomething.
  	MyResumableTestError signal.
  	self doYetAnotherThing]
  		on: MyResumableTestError
  		do: [:ex | ex outer. self doSomethingExceptional]. 
  	self doSomethingElse]
  		on: MyResumableTestError
+ 		do: [:ex | ex resignalAs: MyTestNotification new]
- 		do: [:ex | ex resignalAs: MyTestNotification]
  !



More information about the Squeak-dev mailing list