[squeak-dev] [Test failure] FileStreamTest>>testPositionPastEndIsAtEnd

Eliot Miranda eliot.miranda at gmail.com
Wed Nov 3 17:11:31 UTC 2010


On Wed, Nov 3, 2010 at 6:43 AM, Levente Uzonyi <leves at elte.hu> wrote:

> On Wed, 3 Nov 2010, Hannes Hirzel wrote:
>
>  Hello,
>>
>> Any ideas how to fix the cause for the following test to fail
>>
>
> Add the fix from SqueakVM to CogVM.
>

done.  will try and build a new vm soon.


>
>
> Levente
>
>
>
>> --Hannes
>>
>> ==============================================================
>>
>> testPositionPastEndIsAtEnd
>>        "Tests that a file positioned after its end responds true to
>> #atEnd"
>>
>>        | filename file |
>>        filename := 'filestream.tst'.
>>        file := StandardFileStream forceNewFileNamed: filename.
>>        [
>>                file position: 1000.
>>                self assert: file atEnd.
>>        ] ensure:[
>>                file close.
>>                FileDirectory default deleteFileNamed: filename
>> ifAbsent:[].
>>        ].
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20101103/948db6dd/attachment.htm


More information about the Squeak-dev mailing list