Skip to content

Commit

Permalink
Change send of #timeToRun: to self instead of SmalltalkCI to allo…
Browse files Browse the repository at this point in the history
…w subclasses to override it
  • Loading branch information
jbrichau committed Jan 14, 2024
1 parent 9180fe9 commit 8ee5e03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ folding
fold: aTitle on: aStream block: aBlock
| timeToRun |
aStream nextPutAll: (self foldTitle: aTitle); flush.
timeToRun := SmalltalkCI timeToRun: [ aBlock value ].
timeToRun := self timeToRun: [ aBlock value ].
aStream nextPutAll: self newLine, ' > Done in ', (self stringFor: timeToRun maxDecimalPlaces: 3), 'ms.', self newLine; flush

0 comments on commit 8ee5e03

Please sign in to comment.