mirror of
https://github.com/bettercap/bettercap
synced 2025-07-06 13:02:12 -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"
|
"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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue