fix: fixed windows test failure in environment_test.go

This commit is contained in:
Simone Margaritelli 2024-08-16 15:20:18 +02:00
parent afdc68f512
commit 1df51fd13a

View file

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