[squeak-dev] The Trunk: CollectionsTests-ct.361.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Jul 5 09:02:01 UTC 2021
Marcel Taeumel uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/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
|