ineffassign fixes (#2758)

This commit is contained in:
Karthic Rao
2016-09-22 11:33:54 +05:30
committed by Harshavardhana
parent f7430ec09c
commit 1148f95292
3 changed files with 19 additions and 1 deletions

View File

@@ -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"