Skip to content

Commit cc09fcc

Browse files
committed
[Set] Fix BenchmarkClear again
Signed-off-by: Anton Tiurin <[email protected]>
1 parent 3fb44b8 commit cc09fcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

set/dict_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ func BenchmarkExists(b *testing.B) {
201201
}
202202

203203
func BenchmarkClear(b *testing.B) {
204+
set := New()
204205
for i := 0; i < b.N; i++ {
205206
set.Clear()
206207
}

0 commit comments

Comments
 (0)