[Pkg] The Trunk: KernelTests-eem.275.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jul 18 16:38:17 UTC 2014


Eliot Miranda uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-eem.275.mcz

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

Name: KernelTests-eem.275
Author: eem
Time: 18 July 2014, 9:37:52.433 am
UUID: f11bc090-20f1-418b-883a-a861e333e602
Ancestors: KernelTests-eem.274

Add a test for BlockClosure>>sourceString

=============== Diff against KernelTests-eem.274 ===============

Item was added:
+ ----- Method: BlockClosureTest>>testSourceString (in category 'tests - printing') -----
+ testSourceString
+ 	self assert: [] sourceString equals: '[]'.
+ 	self assert: (#((#'[' #':arg' #| nil #']') (#'[' #':arg' #| #']')) includes: (Scanner new scanTokens: [:arg|] sourceString)).
+ 	self assert: (Scanner new scanTokens: [ : stream | self printSourceOn: stream ] sourceString)
+ 		equals:  #(#'[' #':stream' #| #self #printSourceOn: #stream #']')!



More information about the Packages mailing list