summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {