Files
athens/pkg/config
Eng Zer Jun b3bc773e29 test(pkg/config): use t.Setenv to set env vars (#1821)
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>
Co-authored-by: Ashish Ranjan <ashishranjan2912@gmail.com>
2023-01-30 13:00:37 +08:00
..
2018-08-31 14:23:41 -04:00
2020-06-24 14:29:30 -04:00
2018-11-16 16:00:08 -05:00
2018-12-12 21:17:26 +01:00
2020-06-24 14:29:30 -04:00
2020-06-24 14:29:30 -04:00
2020-02-10 16:03:25 -08:00
2020-06-24 14:29:30 -04:00
2018-11-16 16:00:08 -05:00