summaryrefslogtreecommitdiff
path: root/sync_worker_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-03 13:15:05 +0300
committerValery Piashchynski <[email protected]>2020-12-03 13:15:05 +0300
commit9f6933832a006030c61321914c84cd4aed80718b (patch)
tree6db59832b072dd9de1d0fc1b8800ae2102b0644e /sync_worker_test.go
parentf86e67bcc90560cd907df5abbf5ca7b3fcbe8ca1 (diff)
Add return to the Listener in Test_Broken
Diffstat (limited to 'sync_worker_test.go')
-rwxr-xr-xsync_worker_test.go1
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)