A new version of CollectionsTests was added to project The Inbox:
http://source.squeak.org/inbox/CollectionsTests-ct.359.mcz==================== Summary ====================
Name: CollectionsTests-ct.359
Author: ct
Time: 10 June 2021, 8:49:09.245588 pm
UUID: b6b2dadc-31a0-ef45-b41c-861e1fbad6c3
Ancestors: CollectionsTests-nice.354
Complements Collections-ct.948.
=============== Diff against CollectionsTests-nice.354 ===============
Item was changed:
----- Method: SortFunctionTest>>testAsSortFunction (in category 'tests') -----
testAsSortFunction
| function |
function := #name ascending.
self assert: function equals: function asSortFunction.
function := #name asSortFunction.
self assert: function equals: function asSortFunction.
+ function := #<=> asSortFunction.
+ self assert: function equals: function asSortFunction.
function := [ :each | each name ] ascending.
self assert: function equals: function asSortFunction.
function := [ :x :y | x <=> y ] asSortFunction.
self assert: function equals: function asSortFunction.!