mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2026-04-18 13:33:30 +00:00
use log.Fatal during setup procedures.
update readme example
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package voicemeeter_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
@@ -15,8 +15,7 @@ var (
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
log.Fatal(err)
|
||||
}
|
||||
defer vm.Logout()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user