Levente Uzonyi uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-ul.304.mcz==================== Summary ====================
Name: Tests-ul.304
Author: ul
Time: 21 October 2014, 4:59:20.64 pm
UUID: 6778c29a-0c8f-4e38-9bed-26c6720b6503
Ancestors: Tests-eem.303
Be explicit and use CompiledMethod empty.
=============== Diff against Tests-eem.303 ===============
Item was changed:
----- Method: BlockLocalTemporariesRemovalTest>>assert:isChangedDuringParsingTo:withRemovalOfTemporariesNamed: (in category 'test helper') -----
assert: someCode isChangedDuringParsingTo: someOtherCode withRemovalOfTemporariesNamed: someTempNames
| failBlock |
self sourceCode: someCode.
failBlock := [ self fail ].
[ self class
compile: self sourceCode
notifying: self
+ trailer: CompiledMethodTrailer empty
- trailer: self class defaultMethodTrailer
ifFail: failBlock ]
on: UnusedVariable
do:
[ : aNotification | aNotification openMenuIn:
[ : options : emptyCollection : someText | aNotification resume:
(someTempNames anySatisfy:
[ : tempName | someText beginsWith: tempName ]) ] ].
self assert: self sourceCode = someOtherCode!