[squeak-dev] The Trunk: Chronology-Tests-ct.30.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Jan 31 19:47:28 UTC 2022
Christoph Thiede uploaded a new version of Chronology-Tests to project The Trunk:
http://source.squeak.org/trunk/Chronology-Tests-ct.30.mcz
==================== Summary ====================
Name: Chronology-Tests-ct.30
Author: ct
Time: 31 January 2022, 8:47:27.716214 pm
UUID: 4dca07ab-c329-c54b-b9b2-d66e677524d2
Ancestors: Chronology-Tests-ct.29
Complements Chronology-Tests-ct.29, sorry for the noise ...
=============== Diff against Chronology-Tests-ct.29 ===============
Item was changed:
----- Method: WeekTest>>testNameOfDay (in category 'Tests') -----
testNameOfDay
| days |
days := #(#Sunday #Monday #Tuesday #Wednesday #Thursday #Friday #Saturday).
days withIndexDo: [:item :index | self assert: (Week nameOfDay: index) = item].
+ self shouldRaiseError: [Week nameOfDay: 0].
+ self shouldRaiseError: [Week nameOfDay: 8].
+ self shouldRaiseError: [Week nameOfDay: #Sunday].!
- self should: [Week nameOfDay: 0] raise: TestResult error.
- self should: [Week nameOfDay: 8] raise: TestResult error.
- self should: [Week nameOfDay: #Sunday] raise: TestResult error.!
More information about the Squeak-dev
mailing list
|