summaryrefslogtreecommitdiff
path: root/pool_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pool_test.go')
-rw-r--r--pool_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pool_test.go b/pool_test.go
index db38cbc4..bada2fe8 100644
--- a/pool_test.go
+++ b/pool_test.go
@@ -149,8 +149,8 @@ func Test_Pool_Broken_Replace(t *testing.T) {
assert.NotNil(t, p)
assert.NoError(t, err)
-
- p.EventHandler = func(e int, w *Worker, ctx interface{}) {
+
+ p.Observer = func(e int, w *Worker, ctx interface{}) {
if err, ok := ctx.(error); ok {
assert.Contains(t, err.Error(), "undefined_function()")
}