app/main_test.go

13 lines
117 B
Go
Raw Normal View History

2021-12-17 07:52:32 +00:00
package app
2021-12-16 04:11:33 +00:00
import (
2021-12-17 07:52:32 +00:00
"testing"
2021-12-16 04:11:33 +00:00
)
2021-12-17 07:52:32 +00:00
func TestMain(t *testing.T) {
2021-12-17 08:42:14 +00:00
sys := Default()
2021-12-17 04:54:03 +00:00
go sys.Start()
<-sys.Done()
2021-12-16 04:11:33 +00:00
}