Fix linter warnings
This commit is contained in:
parent
50e0d5e6b5
commit
b5511e8e4c
6 changed files with 38 additions and 45 deletions
|
@ -17,7 +17,7 @@ import (
|
|||
rtest "github.com/restic/restic/internal/test"
|
||||
)
|
||||
|
||||
func newAzureTestSuite(t testing.TB) *test.Suite[azure.Config] {
|
||||
func newAzureTestSuite() *test.Suite[azure.Config] {
|
||||
return &test.Suite[azure.Config]{
|
||||
// do not use excessive data
|
||||
MinimalData: true,
|
||||
|
@ -59,7 +59,7 @@ func TestBackendAzure(t *testing.T) {
|
|||
}
|
||||
|
||||
t.Logf("run tests")
|
||||
newAzureTestSuite(t).RunTests(t)
|
||||
newAzureTestSuite().RunTests(t)
|
||||
}
|
||||
|
||||
func BenchmarkBackendAzure(t *testing.B) {
|
||||
|
@ -77,7 +77,7 @@ func BenchmarkBackendAzure(t *testing.B) {
|
|||
}
|
||||
|
||||
t.Logf("run tests")
|
||||
newAzureTestSuite(t).RunBenchmarks(t)
|
||||
newAzureTestSuite().RunBenchmarks(t)
|
||||
}
|
||||
|
||||
func TestUploadLargeFile(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue