Closed shaleh closed 4 years ago
I wasn't certain either. Not returning a resolved path allows a test to verify that links are handled. But it does push a burden on all tests.
I wasn't certain either. Not returning a resolved path allows a test to verify that links are handled. But it does push a burden on all tests.
That’s a good point.
I’ll merge this PR as-is. Perhaps, in the future, I can add tests that specifically exercise symlink handling.
The functions to create temporary paths on MacOS return paths which are not resolved, full paths and instead could be behind links. To work around this, always 'resolve()' paths.