The Trunk: CollectionsTests-ar.173.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: CollectionsTests-ar.173.mcz

commits-2
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).
+ !