mirror of
https://github.com/bettercap/bettercap
synced 2025-07-05 20:42:09 -07:00
fix: attempt to fix tests on windows
This commit is contained in:
parent
cdefa3c9d3
commit
86e87ab656
1 changed files with 1 additions and 4 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue