mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 08:13:28 +03:00
clean up: ineffassign fixes (#2411)
This commit is contained in:
committed by
Harshavardhana
parent
ef0a108dde
commit
70fd38818e
@@ -91,7 +91,9 @@ func TestXLDeleteObjectBasic(t *testing.T) {
|
||||
|
||||
// Create object "obj" under bucket "bucket" for Test 7 to pass
|
||||
_, err = xl.PutObject("bucket", "obj", int64(len("abcd")), bytes.NewReader([]byte("abcd")), nil)
|
||||
|
||||
if err != nil {
|
||||
t.Fatalf("XL Object upload failed: <ERROR> %s", err)
|
||||
}
|
||||
for i, test := range testCases {
|
||||
actualErr := xl.DeleteObject(test.bucket, test.object)
|
||||
if test.expectedErr != nil && actualErr != test.expectedErr {
|
||||
|
||||
Reference in New Issue
Block a user