Test: Remove temporary directory afterwards (#4045)

This commit is contained in:
zonescape 2024-11-25 07:00:00 +03:00 committed by GitHub
parent 034a485afe
commit ce8c415d43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,12 @@
package scenarios
import (
"testing"
)
func TestMain(m *testing.M) {
genTestBinaryPath()
defer testBinaryCleanFn()
m.Run()
}