[squeak-dev] The Inbox: CollectionsTests-ct.342.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Aug 20 12:35:40 UTC 2020


A new version of CollectionsTests was added to project The Inbox:
http://source.squeak.org/inbox/CollectionsTests-ct.342.mcz

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

Name: CollectionsTests-ct.342
Author: ct
Time: 20 August 2020, 2:35:38.06964 pm
UUID: 7e7af0d0-11d0-f847-b55d-abef876fed46
Ancestors: CollectionsTests-ul.341

Complements 60Deprecated-ct.80 (deprecation #doWithIndex: & Co.).

=============== Diff against CollectionsTests-ul.341 ===============

Item was changed:
  ----- Method: DictionaryTest>>testIntegrityOfDictionaries (in category 'tests - integrity') -----
  testIntegrityOfDictionaries
  	#(
  		Dictionary
  		IdentityDictionary
  		SystemDictionary
  		LiteralDictionary
  		PluggableDictionary
  		WeakValueDictionary) do: [ :dictionaryClassName |
  			Smalltalk at: dictionaryClassName ifPresent: [ :dictionaryClass |
  				dictionaryClass allInstancesDo: [ :dictionary |
  					dictionary keysAndValuesDo: [ :key :value |
  						self assert: (dictionary at: key) == value ].
+ 					dictionary array withIndexDo: [ :association :index |
- 					dictionary array doWithIndex: [ :association :index |
  		                        association ifNotNil: [
  	 	                               self assert: (dictionary scanFor: association key) = index ] ] ] ] ]!



More information about the Squeak-dev mailing list