Fixes failing test
This commit is contained in:
parent
e494b9fb99
commit
fa2b126aa7
|
@ -44,6 +44,7 @@ func TestPublish(t *testing.T) {
|
|||
|
||||
e := &Event{Callbacks: []callback{cb}}
|
||||
Publish(e, 1)
|
||||
<-time.After(10 * time.Millisecond)
|
||||
Publish(e, 2)
|
||||
Publish(e, 3)
|
||||
Publish(e, 4)
|
||||
|
|
Loading…
Reference in New Issue