Unverified Commit c839363f authored by Ken Sipe's avatar Ken Sipe

fixes resetting os env after test run

Signed-off-by: 's avatarKen Sipe <kensipe@gmail.com>
parent aaf24e06
......@@ -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