diff options
author | Valery Piashchynski <[email protected]> | 2020-12-03 13:15:05 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-03 13:15:05 +0300 |
commit | 9f6933832a006030c61321914c84cd4aed80718b (patch) | |
tree | 6db59832b072dd9de1d0fc1b8800ae2102b0644e /sync_worker_test.go | |
parent | f86e67bcc90560cd907df5abbf5ca7b3fcbe8ca1 (diff) |
Add return to the Listener in Test_Broken
Diffstat (limited to 'sync_worker_test.go')
-rwxr-xr-x | sync_worker_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sync_worker_test.go b/sync_worker_test.go index 890a2365..c4febbb4 100755 --- a/sync_worker_test.go +++ b/sync_worker_test.go @@ -166,6 +166,7 @@ func Test_Broken(t *testing.T) { w.AddListener(func(event interface{}) { assert.Contains(t, string(event.(WorkerEvent).Payload.([]byte)), "undefined_function()") wg.Done() + return }) syncWorker, err := NewSyncWorker(w) |