SimpleCloudNotifier/scnserver/test/main_test.go

17 lines
339 B
Go
Raw Normal View History

2024-05-31 23:56:16 +02:00
package test
import (
"gogs.mikescher.com/BlackForestBytes/goext/exerr"
"gogs.mikescher.com/BlackForestBytes/goext/langext"
"os"
"testing"
)
func TestMain(m *testing.M) {
if !exerr.Initialized() {
exerr.Init(exerr.ErrorPackageConfigInit{ZeroLogErrTraces: langext.PFalse, ZeroLogAllTraces: langext.PFalse})
}
2024-09-20 20:56:22 +02:00
2024-05-31 23:56:16 +02:00
os.Exit(m.Run())
}