summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2019-11-17 20:55:38 +0300
committerValery Piashchynski <[email protected]>2019-11-17 20:55:38 +0300
commitdf3aec38ef1421426084cc51a16a608ac3141715 (patch)
tree3a38151ca9ec971fdce0cd30faeb0f3db7e817e9
parenta7982f6e692e9dc40f035d5f1486cb2bbae71f88 (diff)
attempt to fix assert error
-rw-r--r--pipe_factory_test.go5
1 files changed, 1 insertions, 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) {