Do not use Unsetenv

pull/1895/head
Seth Vargo 11 years ago
parent 6728326cc3
commit 444fe40588

@ -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

Loading…
Cancel
Save