diff options
author | Anton Titov <[email protected]> | 2019-12-23 14:52:06 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-23 14:52:06 +0300 |
commit | 921e1f55e23ab75b8250045916c8d1ffad1b8bde (patch) | |
tree | 00b16331b9ff3b3b846ba22989dddde721cc959d /pipe_factory_test.go | |
parent | 921354df1aa4687837e3ba6ac0eb04d39321c149 (diff) | |
parent | 2093cb9058f94668fff0a97beb76b0cab66c7b63 (diff) |
Merge branch 'master' into Fix_warning_and_issues
Diffstat (limited to 'pipe_factory_test.go')
-rw-r--r-- | pipe_factory_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pipe_factory_test.go b/pipe_factory_test.go index 63cee6d4..27d1f74d 100644 --- a/pipe_factory_test.go +++ b/pipe_factory_test.go @@ -109,9 +109,7 @@ func Test_Pipe_Broken(t *testing.T) { }() defer func() { err := w.Stop() - if err != nil { - t.Errorf("error stopping the worker: error %v", err) - } + assert.Error(t, err) }() res, err := w.Exec(&Payload{Body: []byte("hello")}) |