mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
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> |
||
|---|---|---|
| .. | ||
| updates.go | ||
| updates_test.go | ||
| updates_windows.go | ||