mirror of
https://github.com/minio/minio.git
synced 2025-11-29 05:19:03 -05:00
ineffassign fixes (#2758)
This commit is contained in:
committed by
Harshavardhana
parent
f7430ec09c
commit
1148f95292
@@ -108,6 +108,10 @@ func TestFSLoadFormatFS(t *testing.T) {
|
||||
defer removeAll(disk)
|
||||
|
||||
obj, err := newFSObjects(disk)
|
||||
if err != nil {
|
||||
t.Fatal("Should not fail here", err)
|
||||
}
|
||||
|
||||
fs := obj.(fsObjects)
|
||||
|
||||
// Regular format loading
|
||||
@@ -137,6 +141,10 @@ func TestFSGetBucketInfo(t *testing.T) {
|
||||
defer removeAll(disk)
|
||||
|
||||
obj, err := newFSObjects(disk)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
fs := obj.(fsObjects)
|
||||
bucketName := "bucket"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user