Fix ide warning (#4082)

fix warning message from IDE
"redundant type from array, slice, or map composite literal"
This commit is contained in:
Guo Lei
2022-12-26 16:03:47 +08:00
committed by GitHub
parent 3901f2da4d
commit 5f993a5f20

View File

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