[Seaside-dev] WAPlatformTest>>testCharacterTo

Michael Lucas-Smith mlucas-smith at cincom.com
Tue Apr 21 23:58:30 UTC 2009


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


More information about the seaside-dev mailing list