[squeak-dev] The Trunk: Chronology-Tests-pre.17.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jan 23 15:10:47 UTC 2019


Patrick Rein uploaded a new version of Chronology-Tests to project The Trunk:
http://source.squeak.org/trunk/Chronology-Tests-pre.17.mcz

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

Name: Chronology-Tests-pre.17
Author: pre
Time: 23 January 2019, 4:10:44.817474 pm
UUID: 1b42bb75-6b0c-024f-b3c1-0d04823785bd
Ancestors: Chronology-Tests-pre.16

Updates testWait to use the standard library constructor for millisecond Durations

=============== Diff against Chronology-Tests-pre.16 ===============

Item was changed:
  ----- Method: DurationTest>>testWait (in category 'tests') -----
  testWait
  	
  	| start |
  	start := DateAndTime new.
+ 	(Duration milliSeconds: 500) wait.
+ 	self assert: DateAndTime now - start > (Duration milliSeconds: 500).	!
- 	(Duration milliseconds: 500) wait.
- 	self assert: DateAndTime now - start > (Duration milliseconds: 500).	!



More information about the Squeak-dev mailing list