[squeak-dev] The Inbox: CollectionsTests-ct.361.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue Jun 29 23:06:33 UTC 2021
A new version of CollectionsTests was added to project The Inbox:
http://source.squeak.org/inbox/CollectionsTests-ct.361.mcz
==================== Summary ====================
Name: CollectionsTests-ct.361
Author: ct
Time: 30 June 2021, 1:06:31.83741 am
UUID: b30fd619-d876-9f46-bfcf-d233d25b17ed
Ancestors: CollectionsTests-nice.354
Tests Generator(Stream) >> #take: which currently returns superfluous nil values if the generator does not have enough elements. Will be fixed with Collections-ct.950!
=============== Diff against CollectionsTests-nice.354 ===============
Item was added:
+ ----- Method: GeneratorTest>>testTake (in category 'tests') -----
+ testTake
+
+ | generator |
+ generator := self numbersBetween: 1 and: 3.
+ self assert: #(1 2) equals: (generator take: 2) asArray.
+ self assert: #(3) equals: (generator take: 2) asArray!
More information about the Squeak-dev
mailing list
|