gotestyourself / gotestyourself/gotest.tools
Can I update the golden file when using fs.Equal?
Open
- Dominant language
- Go
- Stars
- 576
- Forks
- 54
- Avg merge
- 6d 3h
- Merged PRs (30d)
- 2
Description
In a test structured very much like the example for `fs.Equal` [1]
Is there a way to have the golden file updated with the contents of the actual file we are testing against?
[1]: https://github.com/gotestyourself/gotest.tools/blob/main/fs/example_test.go#L47
Contributor guide
Assessment
This issue has not been assessed yet.