summaryrefslogtreecommitdiffstats
path: root/snowflake_bench_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'snowflake_bench_test.go')
-rw-r--r--snowflake_bench_test.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/snowflake_bench_test.go b/snowflake_bench_test.go
index e630f19..ffad399 100644
--- a/snowflake_bench_test.go
+++ b/snowflake_bench_test.go
@@ -2,11 +2,7 @@ package snowflake
import "testing"
-var benchmarkSnowflake Snowflake
-
-func init() {
- benchmarkSnowflake, _ = New()
-}
+var benchmarkSnowflake = New()
func BenchmarkNew(b *testing.B) {
b.ReportAllocs()