From 444fe40588f688e4914e6fba2edc4e8db47dc1a6 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Tue, 3 Feb 2015 18:43:53 -0500 Subject: [PATCH] Do not use Unsetenv --- post-processor/atlas/post-processor_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-processor/atlas/post-processor_test.go b/post-processor/atlas/post-processor_test.go index 1fe629a88..2f8c63c47 100644 --- a/post-processor/atlas/post-processor_test.go +++ b/post-processor/atlas/post-processor_test.go @@ -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