Files
Packer-Cn/packer
Eng Zer Jun f5ec0f1c57 test: use T.Setenv to set env vars in tests
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 <[email protected]>
2022-09-20 14:54:20 -04:00
..
2020-12-17 13:29:25 -08:00
2020-05-08 16:54:44 +02:00
2020-12-17 13:29:25 -08:00
2020-12-17 13:29:25 -08:00
2020-12-17 13:29:25 -08:00
2020-12-17 13:29:25 -08:00
2017-11-14 16:30:44 -08:00
2020-12-17 13:29:25 -08:00
2020-12-17 13:29:25 -08:00