[Pkg] The Trunk: CollectionsTests-nice.183.mcz
commits at source.squeak.org
commits at source.squeak.org
Fri Mar 25 22:05:17 UTC 2011
Nicolas Cellier uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-nice.183.mcz
==================== Summary ====================
Name: CollectionsTests-nice.183
Author: nice
Time: 25 March 2011, 11:05:05.824 pm
UUID: 73636bed-d0c0-4138-8412-eced2c8d4050
Ancestors: CollectionsTests-ul.182
A non regression test for:
String crlf withNoLineLongerThan: 5
=============== Diff against CollectionsTests-ul.182 ===============
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: [String crlf withNoLineLongerThan: 5] raise: Error.
+ self shouldnt: [('Hello', String cr, String cr,'World') withNoLineLongerThan: 5] raise: Error.
- 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').
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