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)) r := rand.New(rand.NewSource(1))
for i := 0; i < 1024; i++ { for i := 0; i < 1024; i++ {
n := uint64(uint32(r.NormFloat64() * 1e9)) n := uint64(uint32(r.NormFloat64() * 1e9))
if n < 0 {
n = -n
}
n++ n++
maxOutSize += n maxOutSize += n
sizes = append(sizes, n) sizes = append(sizes, n)