fix: attempt to fix tests on windows

This commit is contained in:
Simone Margaritelli 2024-08-16 15:59:54 +02:00
parent cdefa3c9d3
commit 86e87ab656

View file

@ -4,15 +4,12 @@ import (
"encoding/json"
"io/ioutil"
"os"
"path/filepath"
"reflect"
"strings"
"testing"
)
var (
// fix for weird bug on windows github action
testEnvFile = strings.Replace(filepath.Join(os.TempDir(), "test.env"), "C:\\Users\\RUNNER", "", 1)
testEnvFile = "test.env"
testEnvData = map[string]string{
"people": "shit",
"moo": "boo",