The Trunk: CollectionsTests-ar.168.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.168.mcz

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

==================== 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') -----
  testWithNoLineLongerThan
  "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').
  !