From fdb753bbece9b74ee1ebd9d72bd888b846a0f382 Mon Sep 17 00:00:00 2001 From: Godruoyi Date: Thu, 15 Apr 2021 11:50:51 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=88=20ignore=20result=20for=20AtomicResol?= =?UTF-8?q?ver=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- atomic_resolver_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atomic_resolver_test.go b/atomic_resolver_test.go index 1ffc17c..c35a3c7 100644 --- a/atomic_resolver_test.go +++ b/atomic_resolver_test.go @@ -17,13 +17,13 @@ func TestAtomicResolver(t *testing.T) { func BenchmarkCombinationParallel(b *testing.B) { b.RunParallel(func(pb *testing.PB) { for pb.Next() { - snowflake.AtomicResolver(1) + _, _ = snowflake.AtomicResolver(1) } }) } func BenchmarkAtomicResolver(b *testing.B) { for i := 0; i < b.N; i++ { - snowflake.AtomicResolver(1) + _, _ = snowflake.AtomicResolver(1) } }