[squeak-dev] The Trunk: Tests-nice.121.mcz
commits at source.squeak.org
commits at source.squeak.org
Mon Mar 28 08:52:21 UTC 2011
Nicolas Cellier uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-nice.121.mcz
==================== Summary ====================
Name: Tests-nice.121
Author: nice
Time: 28 March 2011, 10:52:22.085 am
UUID: 23bfb3a8-ace7-aa40-9954-2e8494e77556
Ancestors: Tests-ul.120
Minor refactoring (detect:ifNone:[nil]) isNil -> noneSatisfies:
=============== Diff against Tests-ul.120 ===============
Item was changed:
----- Method: MCPackageTest>>testUnload (in category 'tests') -----
testUnload
| mock |
self mockPackage unload.
self deny: (Smalltalk hasClassNamed: #MCMockClassA).
self deny: (MCSnapshotTest includesSelector: #mockClassExtension).
mock := (Smalltalk at: #MCMock).
+ self assert: (mock subclasses noneSatisfy: [:c | c name = #MCMockClassA])!
- self assert: (mock subclasses detect: [:c | c name = #MCMockClassA] ifNone: []) isNil!
More information about the Squeak-dev
mailing list
|