Fixes failing test
This commit is contained in:
parent
8ceffc25ba
commit
235ebb71a5
|
@ -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