[squeak-dev] The Inbox: Tests-jar.456.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Apr 30 06:48:27 UTC 2021


A new version of Tests was added to project The Inbox:
http://source.squeak.org/inbox/Tests-jar.456.mcz

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

Name: Tests-jar.456
Author: jar
Time: 30 April 2021, 8:48:23.469949 am
UUID: 4aaf1b2d-d027-3c49-be9f-873b73d4c92a
Ancestors: Tests-jar.455

one more test illustrating the whole execution path of a nested resumed outer exception.
Complements Tests-jar.455

=============== Diff against Tests-jar.455 ===============

Item was added:
+ ----- Method: ExceptionTests>>testDoubleOuterDoubleResumeTest (in category 'tests - ExceptionTester') -----
+ testDoubleOuterDoubleResumeTest
+ 
+ 	| path |
+ 	path := ''.
+ 	[path := path, '1'.
+ 		[path := path, '2'.
+ 			[1/0] on: ZeroDivide do: [:ex | ex outer. path := path, '5'. ex return]. 
+ 			path := path, '6'
+ 		] on: ZeroDivide do: [:ex | ex outer. path := path, '4'. ex resume].
+ 		path := path, '7'
+ 	] on: ZeroDivide do: [:ex | path := path, '3'. ex resume].
+ 	self assert: path = '1234567'!



More information about the Squeak-dev mailing list