[squeak-dev] The Trunk: CollectionsTests-ct.368.mcz

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Jan 10 22:11:01 UTC 2022

Hi Levente,

good question, I had assumed Marcel had also thought this through when renaming the constant. We cannot have two printString representations for the same character, obviously. In his original patch, Marcel wrote:

> One more thing: Also changes the printString of ASCII-13 to #return because it seems more readable than #cr.
> Note that I pushed readability more into the direction of recognizing physical keys, not standard ASCII labels. I hope that's fine... In that sense, the printString for #lf might be also changed to #linefeed, which is already there.

Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Levente Uzonyi <leves at caesar.elte.hu>
Gesendet: Montag, 10. Januar 2022 22:21:36
An: squeak-dev at lists.squeakfoundation.org
Cc: packages at lists.squeakfoundation.org
Betreff: Re: [squeak-dev] The Trunk: CollectionsTests-ct.368.mcz

Hi Christoph,

On Mon, 10 Jan 2022, commits at source.squeak.org wrote:

> Christoph Thiede uploaded a new version of CollectionsTests to project The Trunk:
> http://source.squeak.org/trunk/CollectionsTests-ct.368.mcz
> ==================== Summary ====================
> Name: CollectionsTests-ct.368
> Author: ct
> Time: 10 January 2022, 8:03:34.822597 pm
> UUID: a071bc20-7ee8-c64b-a012-4d0b77d7317d
> Ancestors: CollectionsTests-ct.367
> Fixes failing collection tests.

Yes, the test passes now, but it marks a potentially breaking change
because it affects #printString and #storeString.
Do we really want it to be printed as Charcter return instead of Character cr?
If yes, why return?
Why not carriageReturn?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220110/c8f5d7fc/attachment-0001.html>

More information about the Squeak-dev mailing list