The Inbox: CollectionsTests-ct.342.mcz

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

The Inbox: CollectionsTests-ct.342.mcz

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