diff options
author | Wolfy-J <[email protected]> | 2018-01-28 18:58:06 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-01-28 18:58:06 +0300 |
commit | 730c76737a64c798b37adefb15ea0f223361631b (patch) | |
tree | 0c61e5298abc97acc33a22d086e208f0d6e308b3 /pool_test.go | |
parent | 71a040f5ee98d91e9f388b0d4509adf8d5589bb9 (diff) |
Context
Diffstat (limited to 'pool_test.go')
-rw-r--r-- | pool_test.go | 4 |
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()") } |