From df3aec38ef1421426084cc51a16a608ac3141715 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Sun, 17 Nov 2019 20:55:38 +0300 Subject: attempt to fix assert error --- pipe_factory_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pipe_factory_test.go b/pipe_factory_test.go index e730d2cf..63cee6d4 100644 --- a/pipe_factory_test.go +++ b/pipe_factory_test.go @@ -17,10 +17,7 @@ func Test_Pipe_Start(t *testing.T) { assert.NoError(t, w.Wait()) }() - err = w.Stop() - if err != nil { - t.Errorf("error stopping the worker: error %v", err) - } + assert.NoError(t, w.Stop()) } func Test_Pipe_StartError(t *testing.T) { -- cgit v1.2.3