summaryrefslogtreecommitdiff
path: root/static_pool_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-28 10:10:37 +0300
committerValery Piashchynski <[email protected]>2020-02-28 10:10:37 +0300
commit07493d20c66fe883349828602eceb33efa12aa9c (patch)
tree2abda06f97b541fa3e0fea13274304cb3e84beb0 /static_pool_test.go
parentc664a752e17d148db31e05317dd8f4cdb069281c (diff)
Fix linter errors
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 793ef071..3fd8dc78 100644
--- a/static_pool_test.go
+++ b/static_pool_test.go
@@ -233,7 +233,7 @@ func Test_StaticPool_AllocateTimeout(t *testing.T) {
assert.NoError(t, err)
close(done)
} else {
- t.Fatal("Pool is nil")
+ panic("Pool is nil")
}
}()