[Pkg] The Trunk: CollectionsTests-ar.173.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Oct 26 02:05:57 UTC 2010


Andreas Raab uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-ar.173.mcz

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

Name: CollectionsTests-ar.173
Author: ar
Time: 25 October 2010, 7:05:45.356 pm
UUID: cf5cc5fb-d2ef-2546-bcf8-2fb057c62dcb
Ancestors: CollectionsTests-Igor.Stasenko.172

Add regression test for concatenation of Character[Set] separators with strings. Based on observation in Mantis #7564.

=============== Diff against CollectionsTests-Igor.Stasenko.172 ===============

Item was added:
+ ----- Method: CharacterTest>>testCharacterSeparators (in category 'tests - various') -----
+ testCharacterSeparators
+ 	"Regression test"
+ 
+ 	| result |
+ 	self shouldnt:[result := '/', Character separators] raise: Error.
+ 	self assert: result size = (Character separators size + 1).
+ 
+ 	self shouldnt:[result := '/', CharacterSet separators] raise: Error.
+ 	self assert: result size = (CharacterSet separators asArray size + 1).
+ !



More information about the Packages mailing list