Browse Source

Fix ide warning (#4082)

fix warning message from IDE
"redundant type from array, slice, or map composite literal"
pull/4083/head
Guo Lei 2 years ago
committed by GitHub
parent
commit
5f993a5f20
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      weed/s3api/filer_multipart_test.go

8
weed/s3api/filer_multipart_test.go

@ -57,19 +57,19 @@ func Test_findByPartNumber(t *testing.T) {
} }
parts := []CompletedPart{ parts := []CompletedPart{
CompletedPart{
{
ETag: "xxx", ETag: "xxx",
PartNumber: 1, PartNumber: 1,
}, },
CompletedPart{
{
ETag: "lll", ETag: "lll",
PartNumber: 1, PartNumber: 1,
}, },
CompletedPart{
{
ETag: "yyy", ETag: "yyy",
PartNumber: 3, PartNumber: 3,
}, },
CompletedPart{
{
ETag: "zzz", ETag: "zzz",
PartNumber: 5, PartNumber: 5,
}, },

Loading…
Cancel
Save