summaryrefslogtreecommitdiff
path: root/static_pool_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-05-29 13:07:45 +0300
committerWolfy-J <[email protected]>2018-05-29 13:07:45 +0300
commit85b5288c290fd014b76c375fb9ffdf62575e2f2e (patch)
tree6046b584e15c1d515a8944df44399fde9fd77887 /static_pool_test.go
parentb8bc792b263a3891e125757a35cc563bb85f1a0b (diff)
working on tests
Diffstat (limited to 'static_pool_test.go')
-rw-r--r--static_pool_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/static_pool_test.go b/static_pool_test.go
index a1db7c8c..64635716 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.Observe(func(e int, w *Worker, ctx interface{}) {
+ p.Observe(func(e int, ctx interface{}) {
if err, ok := ctx.(error); ok {
assert.Contains(t, err.Error(), "undefined_function()")
}