You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now if you will run pharo on MacOS using Finder (by drag and drop image for example) tests which generate temp files will fail. The problem is that working directory is resolved by OS as the root in that case.
In Pharo 6 workingDirectory was equal to imageDirectory and tests were always green.
But in Pharo 7 it is the true OS based working directory
I suggest to use in tests FileLocator temp instead of workingDirectory. Or even better, use existing method to get temp files.
For example replace following code:
Now if you will run pharo on MacOS using Finder (by drag and drop image for example) tests which generate temp files will fail. The problem is that working directory is resolved by OS as the root in that case.
In Pharo 6 workingDirectory was equal to imageDirectory and tests were always green.
But in Pharo 7 it is the true OS based working directory
I suggest to use in tests FileLocator temp instead of workingDirectory. Or even better, use existing method to get temp files.
For example replace following code:
with:
The text was updated successfully, but these errors were encountered: