mirror of
https://github.com/bettercap/bettercap
synced 2025-07-06 04:52:10 -07:00
fix: fixed windows test failure in environment_test.go
This commit is contained in:
parent
afdc68f512
commit
1df51fd13a
1 changed files with 2 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue