diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-07-06 10:29:40 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-07-07 07:50:27 +0300 |
commit | e34689502c46f6693006e259ed94e96ec3fa09b4 (patch) | |
tree | d19b7b095bbbb499edb5b581818637470e2a6b50 /.golangci.yml | |
parent | 08b2d318b9ce3904bf6c8432edfcedaf352f123e (diff) |
env: Rewrite tests to match modern best practices
The tests for our environment helpers aren't quite matching our modern
best practices. Furthermore, they're missing tests for the case where
environment variables are not set at all.
Refactor these tests to adapt. While at it, convert them to use the new
`t.Setenv()` and `testhelper.Unsetenv()` helper functions.
Diffstat (limited to '.golangci.yml')
0 files changed, 0 insertions, 0 deletions