Add test flag -update to update the golden files
Test flag `-update` can be used to update all the golden files whenever
the CLI output changes.
Signed-off-by:
Sunny <darkowlzz@protonmail.com>
Showing
- CONTRIBUTING.md 7 additions, 0 deletionsCONTRIBUTING.md
- Makefile 1 addition, 1 deletionMakefile
- cmd/flux/main_test.go 11 additions, 0 deletionscmd/flux/main_test.go
- cmd/flux/testdata/helmrelease/get_helmrelease_from_git.golden 2 additions, 2 deletions...flux/testdata/helmrelease/get_helmrelease_from_git.golden
- cmd/flux/testdata/image/get_image_policy_regex.golden 2 additions, 2 deletionscmd/flux/testdata/image/get_image_policy_regex.golden
- cmd/flux/testdata/image/get_image_policy_semver.golden 2 additions, 2 deletionscmd/flux/testdata/image/get_image_policy_semver.golden
- cmd/flux/testdata/kustomization/get_kustomization_from_git.golden 2 additions, 2 deletions.../testdata/kustomization/get_kustomization_from_git.golden
Loading
Please register or sign in to comment