j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
A new version of CollectionsTests was added to project The Inbox: http://source.squeak.org/inbox/CollectionsTests-ael.187.mcz
==================== Summary ====================
Name: CollectionsTests-ael.187 Author: ael Time: 30 July 2012, 2:40:57.923 pm UUID: b4b909c2-e655-4b7e-94f8-0f5c40a227d0 Ancestors: CollectionsTests-ul.186
test case for isolation of dictionary created using newFrom:
=============== Diff against CollectionsTests-ul.186 ===============
Item was added: + ----- Method: DictionaryTest>>testNewFromIsolation (in category 'basic tests') ----- + testNewFromIsolation + "self run:#testNewFromIsolation" + "self debug:#testNewFromIsolation" + + | dict1 dict2 | + dict1 := Dictionary new. + dict1 at: #one put: 'foo'; at: #two put: 0@0. + dict2 := Dictionary newFrom: dict1. + dict2 at: #one put: 'bar'. + + self assert: (dict1 at: #one) = 'foo'. + !
squeak-dev@lists.squeakfoundation.org