SetUpdateMode sets whether this GoldenFile should update golden files on compare.
(update bool)
| 241 | |
| 242 | // SetUpdateMode sets whether this GoldenFile should update golden files on compare. |
| 243 | func (g *GoldenFile) SetUpdateMode(update bool) { g.update = update } |
| 244 | |
| 245 | // CompareOrUpdateGolden provides a drop-in replacement for the legacy function |
| 246 | // used throughout the codebase. New code should use GoldenFile instead. |
no outgoing calls