diff --git a/session/environment_test.go b/session/environment_test.go index 5edcc0ee..3b6b0fa0 100644 --- a/session/environment_test.go +++ b/session/environment_test.go @@ -4,12 +4,13 @@ import ( "encoding/json" "io/ioutil" "os" + "path/filepath" "reflect" "testing" ) var ( - testEnvFile = "/tmp/test.env" + testEnvFile = filepath.Join(os.TempDir(), "test.env") testEnvData = map[string]string{ "people": "shit", "moo": "boo",