[squeak-dev] The Trunk: Kernel-ul.711.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Sep 21 02:17:20 UTC 2012

Levente Uzonyi uploaded a new version of Kernel to project The Trunk:

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

Name: Kernel-ul.711
Author: ul
Time: 21 September 2012, 3:52:01.69 am
UUID: 34bbbd59-62f6-8a4c-98a1-4277ce568856
Ancestors: Kernel-bf.710

Accept a block as description (besides a string) in Object>>assert:description:. This ensures that the method's behavior is the same as TestCase>>assert:description:'s.

=============== Diff against Kernel-bf.710 ===============

Item was changed:
  ----- Method: Object>>assert:description: (in category 'error handling') -----
+ assert: aBlock description: aStringOrBlock
- assert: aBlock description: aString
  	"Throw an assertion error if aBlock does not evaluates to true."
+ 	aBlock value ifFalse: [ AssertionFailure signal: aStringOrBlock value ]!
- 	aBlock value ifFalse: [AssertionFailure signal: aString ]!

More information about the Squeak-dev mailing list