mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2026-04-18 21:43:30 +00:00
now using testify/assert
added helper_test dependencies updated in go.mod file
This commit is contained in:
19
tests/helper_test.go
Normal file
19
tests/helper_test.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package voicemeeter_test
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/onyx-and-iris/voicemeeter-api-go/voicemeeter"
|
||||
)
|
||||
|
||||
var (
|
||||
vmRem = voicemeeter.NewRemote("banana")
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
vmRem.Login()
|
||||
code := m.Run()
|
||||
vmRem.Logout()
|
||||
os.Exit(code)
|
||||
}
|
||||
Reference in New Issue
Block a user