gotestyourself / gotestyourself/gotest.tools
Follow symlinks in fs temp paths?
Open
enhancement
- Dominant language
- Go
- Stars
- 576
- Forks
- 54
- Avg merge
- 6d 3h
- Merged PRs (30d)
- 2
Description
On OSX, the default temp dir includes a symlink, this means that if you generate a temporary file, and then pass its path into a function which follows links, then assertions you try and make on matching names won't pass.
Would it be reasonable to have `fs.NewDir` and `fs.NewFile` expand to real paths before returning?
Contributor guide
Assessment
This issue has not been assessed yet.