[squeak-dev] The Trunk: CollectionsTests-pre.307.mcz

commits at source.squeak.org commits at source.squeak.org
Thu May 2 07:34:01 UTC 2019


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



More information about the Squeak-dev mailing list