mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
fix: attempt to fix tests on windows
This commit is contained in:
parent
fcf285aabb
commit
ee944d9640
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,7 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
testEnvFile = filepath.Join(os.TempDir(), "test.env")
|
||||
testEnvFile = "test.env"
|
||||
testEnvData = map[string]string{
|
||||
"people": "shit",
|
||||
"moo": "boo",
|
||||
|
@ -20,6 +20,8 @@ var (
|
|||
)
|
||||
|
||||
func setup(t testing.TB, envFile bool, envFileData bool) {
|
||||
testEnvFile = filepath.Join(t.TempDir(), "test.env")
|
||||
|
||||
teardown(t)
|
||||
|
||||
if envFile {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue