go-eventbus/basic_test.go

14 lines
141 B
Go
Raw Normal View History

2019-06-13 10:23:03 +08:00
package event
import (
"testing"
)
type EventA struct{}
func TestSimple(t *testing.T) {
bus := NewBus()
_, _ = bus.Sub(new(EventA))
}