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

commits at source.squeak.org commits at source.squeak.org
Fri Jul 16 00:18:06 UTC 2010

Andreas Raab uploaded a new version of CollectionsTests to project The Trunk:

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

Name: CollectionsTests-ar.168
Author: ar
Time: 15 July 2010, 5:17:47.62 pm
UUID: 9be07bc9-1fb8-0d47-bdb1-f7e58105f552
Ancestors: CollectionsTests-ar.167

Fix the test for withNoLineLongerThan: which had an incorrect line break.

=============== Diff against CollectionsTests-ar.167 ===============

Item was changed:
  ----- Method: StringTest>>testWithNoLineLongerThan (in category 'tests - converting') -----
  	"self run: #testWithNoLineLongerThan"
  	self assert: ('Hello World' withNoLineLongerThan: 5) = ('Hello', String cr, 'World').
  	self shouldnt:[('Hello', String cr, String cr,'World') withNoLineLongerThan: 5] raise: Error.
  	self assert: ('Sample text to line break at some point' withNoLineLongerThan:  28)
+ 		= ('Sample text to line break at', String cr, 'some point').
- 		= ('Sample text to line break', String cr, 'at some point').
  	self assert: ('Sample text', String cr, 'to line break', String cr, 'at some point' withNoLineLongerThan:  28)
  		= ('Sample text', String cr, 'to line break', String cr, 'at some point').

More information about the Packages mailing list