Commit 444fe405 authored by Seth Vargo's avatar Seth Vargo

Do not use Unsetenv

parent 6728326c
...@@ -10,7 +10,7 @@ import ( ...@@ -10,7 +10,7 @@ import (
func TestPostProcessorConfigure(t *testing.T) { func TestPostProcessorConfigure(t *testing.T) {
currentEnv := os.Getenv("ATLAS_TOKEN") currentEnv := os.Getenv("ATLAS_TOKEN")
os.Unsetenv("ATLAS_TOKEN") os.Setenv("ATLAS_TOKEN", "")
defer os.Setenv("ATLAS_TOKEN", currentEnv) defer os.Setenv("ATLAS_TOKEN", currentEnv)
var p PostProcessor var p PostProcessor
......
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