[Pkg] The Treated Inbox: SUnit-ct.137.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Jan 31 19:58:19 UTC 2022
Christoph Thiede uploaded a new version of SUnit to project The Treated Inbox:
http://source.squeak.org/treated/SUnit-ct.137.mcz
==================== Summary ====================
Name: SUnit-ct.137
Author: ct
Time: 19 January 2022, 11:54:53.214828 pm
UUID: dd617d36-ff31-f143-932d-09d1c332f5dc
Ancestors: SUnit-ct.136
Revises exception choice in TestCase >> #shouldFix:. It is a bad practice to handle, or even to search for arbitary Exceptions. Many mechanisms signal possibly unhandled "harmless" exceptions and rely on their #defaultAction. This includes accesses to the source files, debugging operations, and many others. The assertion in its current form makes little sense.
=============== Diff against SUnit-ct.136 ===============
Item was changed:
----- Method: TestCase>>shouldFix: (in category 'asserting - extensions') -----
shouldFix: aBlock
+ ^self should: aBlock raise: TestResult exError!
- ^self should: aBlock raise: Exception!
More information about the Packages
mailing list