Yes, i'm using the latest. VM: https://ci.lille.inria.fr/pharo/job/Cog-VM/Architecture=32,OS=mac/58/ Sven, are you using Mac OSX ? Esteban replied that's a known bug, (unexisting file giving tue on #exists) maybe its implied that'solely for the Mac ? I will do an unit test to capture this issue. Fernando On Wed, Jul 4, 2012 at 10:44 AM, Sven Van Caekenberghe <sven@beta9.be> wrote:
On 04 Jul 2012, at 09:51, Fernando Olivero wrote:
But i found that the following is working incorrectly:
(FileSystem disk workingDirectory / 'unexistingFileForTesting.txt') asFileReference exists = true
Hmm, that would be a serious problem, I am using that as well,
(FileSystem disk workingDirectory / 'unexistingFileForTesting.txt') exists
gives false for me ;-)
And this works as well:
2 timesRepeat:[ (FileSystem disk workingDirectory / 'unexistingFileForTesting.txt') delete ].
Is there a unit test covering your problem ? If not, there should be.
Sven