FogBugz (Case [Issue]12259) Crosscutting and Misc - FileSystem memory reads/writes using a binary stream by default

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]12259) Crosscutting and Misc - FileSystem memory reads/writes using a binary stream by default

Pharo Issue Tracker
FogBugz Notification
avatar
Damien Cassou opened Case 12259: FileSystem memory reads/writes using a binary stream by default and assigned it to Damien Cassou:
Bug in Project:  Crosscutting and Misc: 1. Pharo Image  •  You are subscribed to this case
<code>
| file |
file := FileSystem memory root / 'file'.
file ensureDelete.
file writeStreamDo: [ :stream | stream nextPutAll: '123' ].
self assert: file contents = '123'
</code>

This test does not pass because "file contents" returns a byte array. I don't know if it is the reading or the writing that is wrong.
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Damien Cassou Milestone Milestone: Later

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want FogBugz notifications anymore? Update your preferences.

FogBugz

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker