diff options
author | Valery Piashchynski <[email protected]> | 2020-02-27 23:35:12 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-02-27 23:35:12 +0300 |
commit | 460075733def8bc46af867af4991ca5dff94a982 (patch) | |
tree | b00a6d49646f65dafd48d0fac8001c70c50f2410 /worker_test.go | |
parent | f11a2c4cdbacf2a6757607e551c75c190268ce97 (diff) |
Slightly refactor Test_StaticPool_AllocateTimeout test
Diffstat (limited to 'worker_test.go')
-rw-r--r-- | worker_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worker_test.go b/worker_test.go index e8cbef90..c22b1db2 100644 --- a/worker_test.go +++ b/worker_test.go @@ -169,7 +169,7 @@ func Test_Broken(t *testing.T) { defer func() { err := w.Stop() - assert.Error(t, err) + assert.NoError(t, err) }() res, err := w.Exec(&Payload{Body: []byte("hello")}) |