summaryrefslogtreecommitdiff
path: root/static_pool_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-06 12:41:49 +0300
committerWolfy-J <[email protected]>2018-06-06 12:41:49 +0300
commitaefb8c50d2c691cac113d9ccbbfbcbd30635ee6a (patch)
treefc5ecf4301c191ef503ca41058882ed5e8bc13d3 /static_pool_test.go
parentf762cd2bff2fa35e32bc4502c97d2ee0984397b7 (diff)
Cs and refactoring
Diffstat (limited to 'static_pool_test.go')
-rw-r--r--static_pool_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/static_pool_test.go b/static_pool_test.go
index 5fe7e062..b7e5b0dd 100644
--- a/static_pool_test.go
+++ b/static_pool_test.go
@@ -185,10 +185,6 @@ func Test_StaticPool_Broken_FromOutside(t *testing.T) {
destructed := make(chan interface{})
p.Observe(func(e int, ctx interface{}) {
- if err, ok := ctx.(error); ok {
- assert.Contains(t, err.Error(), "exit status 1")
- }
-
if e == EventWorkerCreate {
close(destructed)
}