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

commits at source.squeak.org commits at source.squeak.org
Mon May 12 18:29:28 UTC 2014


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

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

Name: KernelTests-eem.269
Author: eem
Time: 12 May 2014, 11:29:03.891 am
UUID: 1022249f-8af2-45fd-8fcd-40885c8e49eb
Ancestors: KernelTests-nice.268

Add a test to check that empty blocks evaluate to nil

=============== Diff against KernelTests-nice.268 ===============

Item was added:
+ ----- Method: BlockClosureTest>>testEmptyBlocksAnswerNil (in category 'tests - evaluating') -----
+ testEmptyBlocksAnswerNil
+ 	"In the olden days ([:a :b|] value: #first value: #last) == #last..."
+ 	{[]. [:a|]. [:a :b|]. [:a :b :c|]} do:
+ 		[:block|
+ 		self assert: (block cull: 1 cull: 2 cull: 3) equals: nil]!



More information about the Packages mailing list