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" "encoding/json"
"io/ioutil" "io/ioutil"
"os" "os"
"path/filepath"
"reflect" "reflect"
"testing" "testing"
) )
var ( var (
testEnvFile = "/tmp/test.env" testEnvFile = filepath.Join(os.TempDir(), "test.env")
testEnvData = map[string]string{ testEnvData = map[string]string{
"people": "shit", "people": "shit",
"moo": "boo", "moo": "boo",