diff options
author | Wolfy-J <[email protected]> | 2018-04-15 12:48:06 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-04-15 12:48:06 +0300 |
commit | e2c1c66d7a35a9c60a4f05126691242068ebb589 (patch) | |
tree | 76db075971f2fe683ed3bf643bbf097b47178a5a /static_pool_test.go | |
parent | f8ff7aeedc893969d02115d23b62503a75228446 (diff) |
report instead of observe
Diffstat (limited to 'static_pool_test.go')
-rw-r--r-- | static_pool_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static_pool_test.go b/static_pool_test.go index ada6c3d2..b4069b98 100644 --- a/static_pool_test.go +++ b/static_pool_test.go @@ -150,7 +150,7 @@ func Test_StaticPool_Broken_Replace(t *testing.T) { assert.NotNil(t, p) assert.NoError(t, err) - p.Watch(func(e int, w *Worker, ctx interface{}) { + p.Report(func(e int, w *Worker, ctx interface{}) { if err, ok := ctx.(error); ok { assert.Contains(t, err.Error(), "undefined_function()") } |