[Seaside-dev] WAPlatformTest>>testCharacterTo

Michael Lucas-Smith mlucas-smith at cincom.com
Wed Apr 22 15:35:13 UTC 2009


I've created 2492 for this, it's the test WAPlatformTest>>testCharacterTo

Cheers,
Michael

Lukas Renggli wrote:
> That code looks somehow familiar. Where did you find it? Can you
> create an issue?
>
> Cheers,
> Lukas
>
> On Wed, Apr 22, 2009 at 1:58 AM, Michael Lucas-Smith
> <mlucas-smith at cincom.com> wrote:
>   
>> Hi All,
>>
>> This test creates a ByteString in VisualWorks at the very top and then
>> attempts to collect in to integers. You can't store integers in to a
>> ByteString and the species of a ByteString is a ByteString, so this just
>> fails in VW.
>>
>> Turning the string in to an array before doing the collect fixes it:
>>   actual := ((($a to: $z) , ($A to: $Z) , ($0 to: $9) , (Array with: $_
>> with: $-)) asArray
>>       collect: [ :each | each seasideInteger ]).
>>
>> Cheers,
>> Michael
>> _______________________________________________
>> seaside-dev mailing list
>> seaside-dev at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>>
>>     
>
>
>
>   



More information about the seaside-dev mailing list