summaryrefslogtreecommitdiff
path: root/worker_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker_test.go')
-rw-r--r--worker_test.go2
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")})