The Trunk: CollectionsTests-pre.307.mcz

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

The Trunk: CollectionsTests-pre.307.mcz

commits-2
Patrick Rein uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-pre.307.mcz

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

Name: CollectionsTests-pre.307
Author: pre
Time: 2 May 2019, 9:33:57.967906 am
UUID: 984a7416-b770-724c-abcb-12954f78a17b
Ancestors: CollectionsTests-pre.306

Fixes a defect in BagTest spotted by Bob Arning

=============== Diff against CollectionsTests-pre.306 ===============

Item was changed:
  ----- Method: BagTest>>testCopy (in category 'tests - basic') -----
  testCopy
  "self run: #testCopy"
 
  | aBag newBag |
  aBag := Bag new.
  aBag add:'a' withOccurrences: 4.
  aBag add:'b' withOccurrences: 2.
  newBag := aBag copy.
+ self assert: newBag = aBag.
- self assert: newBag = newBag.
  self assert: newBag asSet size = 2.!