mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-30 17:38:41 +00:00
Test: Remove temporary directory afterwards (#4045)
This commit is contained in:
parent
034a485afe
commit
ce8c415d43
2 changed files with 14 additions and 0 deletions
12
testing/scenarios/main_test.go
Normal file
12
testing/scenarios/main_test.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package scenarios
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
genTestBinaryPath()
|
||||
defer testBinaryCleanFn()
|
||||
|
||||
m.Run()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue