You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
We can auto update the test fixtures against which we compare the output a.k.a. golden files, just by adding a cmd flag to the tests. Just adding a global flag like following:
varupdate=flag.Bool("update", false, "update golden files")
We can auto update the test fixtures against which we compare the output a.k.a. golden files, just by adding a cmd flag to the tests. Just adding a global flag like following:
For more info see this 2min snippet of the video.
The text was updated successfully, but these errors were encountered: