Do not use Unsetenv

This commit is contained in:
Seth Vargo 2015-02-03 18:43:53 -05:00
parent 6728326cc3
commit 444fe40588
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import (
func TestPostProcessorConfigure(t *testing.T) {
currentEnv := os.Getenv("ATLAS_TOKEN")
os.Unsetenv("ATLAS_TOKEN")
os.Setenv("ATLAS_TOKEN", "")
defer os.Setenv("ATLAS_TOKEN", currentEnv)
var p PostProcessor