lib/storage: remove unused code (#4050)

This commit is contained in:
faceair 2023-04-03 12:23:24 +08:00 committed by GitHub
parent fa2ba7b07b
commit a4b4bda166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,9 +60,6 @@ func TestAppendPartsToMergeManyParts(t *testing.T) {
r := rand.New(rand.NewSource(1))
for i := 0; i < 1024; i++ {
n := uint64(uint32(r.NormFloat64() * 1e9))
if n < 0 {
n = -n
}
n++
maxOutSize += n
sizes = append(sizes, n)