From 86e87ab6565915a1d553db7bdf47be644d59810a Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Fri, 16 Aug 2024 15:59:54 +0200 Subject: [PATCH] fix: attempt to fix tests on windows --- session/environment_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/session/environment_test.go b/session/environment_test.go index 8c44c6a9..ba41d0d0 100644 --- a/session/environment_test.go +++ b/session/environment_test.go @@ -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",