[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-dev
Subject:    [squeak-dev] The Inbox: CollectionsTests-ct.298.mcz
From:       commits () source ! squeak ! org
Date:       2019-05-31 11:52:36
Message-ID: E1hWg5N-0007lN-OW () andreas
[Download RAW message or body]

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'].!



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic