mirror of
https://github.com/harness/drone.git
synced 2025-05-19 02:20:03 +08:00
fixed test
This commit is contained in:
parent
ebbe87e4c6
commit
dc6a3ebebf
@ -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 New Issue
Block a user