Unverified Commit 7fd770ca authored by Matthew Fisher's avatar Matthew Fisher Committed by GitHub

Merge pull request #6274 from kensipe/env-test-fix

fixes resetting os env after test run
parents b0f032b5 c839363f
......@@ -106,8 +106,8 @@ func TestEnvSettings(t *testing.T) {
"HELM_TLS_ENABLE": "",
}
resetEnv(allEnvvars)
defer resetEnv(allEnvvars)
reset := resetEnv(allEnvvars)
defer reset()
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment