The Trunk: CollectionsTests-mt.345.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-mt.345.mcz

commits-2
Marcel Taeumel uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-mt.345.mcz

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

Name: CollectionsTests-mt.345
Author: mt
Time: 14 October 2020, 1:55:54.742569 pm
UUID: fad74e61-f144-a340-a901-f8a702d7c08b
Ancestors: CollectionsTests-ul.344

Rename #doWithIndex: to #withIndexDo:. See http://forum.world.st/The-Inbox-60Deprecated-ct-80-mcz-td5120706.html

=============== Diff against CollectionsTests-ul.344 ===============

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