54afe925b8
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> |
||
---|---|---|
.. | ||
src/notification | ||
const.go | ||
embed.go | ||
funcs.go | ||
funcs_test.go | ||
provider.go | ||
types.go | ||
util.go | ||
util_test.go |