fixed test
This commit is contained in:
parent
ebbe87e4c6
commit
dc6a3ebebf
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ func TestBus(t *testing.T) {
|
|||
ctx, cancel := context.WithCancel(context.Background())
|
||||
defer cancel()
|
||||
|
||||
p := New()
|
||||
p := newHub()
|
||||
events, errc := p.Subscribe(ctx)
|
||||
|
||||
if got, want := p.Subscribers(), 1; got != want {
|
||||
|
|
Loading…
Reference in a new issue