mirror of
https://github.com/minio/minio.git
synced 2025-11-08 21:24:55 -05:00
Run modernize (#21546)
`go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...` executed. `go generate ./...` ran afterwards to keep generated.
This commit is contained in:
@@ -163,7 +163,6 @@ func TestPath2BucketObjectName(t *testing.T) {
|
||||
|
||||
// Validate all test cases.
|
||||
for _, testCase := range testCases {
|
||||
testCase := testCase
|
||||
t.Run("", func(t *testing.T) {
|
||||
bucketName, objectName := path2BucketObject(testCase.path)
|
||||
if bucketName != testCase.bucket {
|
||||
|
||||
Reference in New Issue
Block a user