From 1f6749ed4cf3cfd2beade4949945a382abd66b15 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 22 Dec 2020 23:27:51 +0300 Subject: Redisighn factory interface (add event listeners as variadic) --- pkg/pipe/pipe_factory_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/pipe/pipe_factory_test.go') diff --git a/pkg/pipe/pipe_factory_test.go b/pkg/pipe/pipe_factory_test.go index 3cef0646..dca09375 100755 --- a/pkg/pipe/pipe_factory_test.go +++ b/pkg/pipe/pipe_factory_test.go @@ -415,7 +415,7 @@ func Test_Broken(t *testing.T) { } } - w, err := NewPipeFactory(listener).SpawnWorkerWithTimeout(ctx, cmd) + w, err := NewPipeFactory().SpawnWorkerWithTimeout(ctx, cmd, listener) if err != nil { t.Fatal(err) } -- cgit v1.2.3