Fixes failing test

This commit is contained in:
gmarik 2016-02-23 00:54:47 -05:00 committed by deadprogram
parent 8ceffc25ba
commit 235ebb71a5
1 changed files with 1 additions and 0 deletions

View File

@ -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)