From dc6a3ebebf928f364f33092033e417d6d10803b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Ga=C4=87e=C5=A1a?= Date: Thu, 22 Jul 2021 15:11:42 +0200 Subject: [PATCH] fixed test --- pubsub/hub_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubsub/hub_test.go b/pubsub/hub_test.go index ac728ab8..2c4c4e14 100644 --- a/pubsub/hub_test.go +++ b/pubsub/hub_test.go @@ -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 {