The Inbox: CollectionsTests-ct.298.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: CollectionsTests-ct.298.mcz

commits-2
A new version of CollectionsTests was added to project The Inbox:
http://source.squeak.org/inbox/CollectionsTests-ct.298.mcz

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

Name: CollectionsTests-ct.298
Author: ct
Time: 31 May 2019, 1:52:34.276053 pm
UUID: 717b8c7c-d8cb-4541-9d60-3cb8814d4097
Ancestors: CollectionsTests-ul.297

Test Collection>>asStringByDelimiter (cf. Collections, ct.827)

=============== Diff against CollectionsTests-ul.297 ===============

Item was added:
+ ----- Method: CollectionTest>>testAsStringByDelimiter (in category 'testing') -----
+ testAsStringByDelimiter
+ | delimiter |
+ delimiter := ' +++ '.
+ {OrderedCollection new. Set new.} do:
+ [ :coll |
+ self assert: (coll asStringByDelimiter: delimiter) = ''.
+
+ coll add: 1.
+ self assert: (coll asStringByDelimiter: delimiter) = '1'.
+
+ coll add: 2; add: 3.
+ self assert: (coll asStringByDelimiter: delimiter) = '1 +++ 2 +++ 3'].!