lib/weakhash: Fix speed reporting in benchmark (#6470)

This commit is contained in:
greatroar authored and GitHub committed 2020-03-29 17:07:25 +02:00
1 parent 38bd90e6f2
commit cc1b003f21
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ func BenchmarkBlock(b *testing.B) {
test.hash.Reset()
}
bbb.SetBytes(int64(len(buf)))
bbb.SetBytes(testSize)
bbb.ReportAllocs()
})