gotestyourself / gotestyourself/gotest.tools

Can I update the golden file when using fs.Equal?

Open
#291 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.