helmfile/test
Eng Zer Jun ce3b81e2a1
test: use `T.Setenv` to set env vars in tests (#189)
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-06-30 09:15:34 +09:00
..
advanced Fix ignored chart version on patched release (#1276) 2020-05-28 20:52:56 +09:00
diff-yamls Fix various golangci-lint errors (#2059) 2022-02-12 20:28:08 +09:00
e2e/template/helmfile test: use `T.Setenv` to set env vars in tests (#189) 2022-06-30 09:15:34 +09:00
integration fix ci issue (#131) 2022-06-05 15:31:36 +09:00
yamldiff remove ioutil usage in all project 2022-04-03 15:53:19 +08:00