fix: Fixed unused variables staticcheck in backend unit test functions

This commit is contained in:
jonaustin09
2023-05-22 23:50:49 +04:00
parent 687a73e367
commit 0a1bf26f10
2 changed files with 1 additions and 6 deletions
-5
View File
@@ -19,7 +19,6 @@ func TestBackend_ListBuckets(t *testing.T) {
c Backend
args args
wantErr bool
want s3.ListBucketsOutput
}
var tests []test
tests = append(tests, test{
@@ -69,7 +68,6 @@ func TestBackend_HeadBucket(t *testing.T) {
c Backend
args args
wantErr bool
want s3.ListBucketsOutput
}
var tests []test
tests = append(tests, test{
@@ -103,7 +101,6 @@ func TestBackend_GetBucketAcl(t *testing.T) {
c Backend
args args
wantErr bool
want *s3.GetBucketAclOutput
}
var tests []test
tests = append(tests, test{
@@ -137,7 +134,6 @@ func TestBackend_PutBucket(t *testing.T) {
c Backend
args args
wantErr bool
want s3.ListBucketsOutput
}
var tests []test
tests = append(tests, test{
@@ -183,7 +179,6 @@ func TestBackend_DeleteBucket(t *testing.T) {
c Backend
args args
wantErr bool
want s3.ListBucketsOutput
}
var tests []test
tests = append(tests, test{