extend emitter test

This commit is contained in:
BuckarooBanzay 2021-09-15 13:41:12 +02:00
parent 42a8a837ee
commit a0f80cae71

View File

@ -29,6 +29,7 @@ func TestEventEmitter(t *testing.T) {
ee.AddListener(handler)
ee.Emit("my-event", "test")
ee.RemoveListener(handler)
ee.Emit("my-event", "test")
if handler.count != 1 {
t.Fatal("Count not 0")