mirror of
https://github.com/restic/restic.git
synced 2026-11-22 05:14:23 +00:00
Apply go fix -any ./...
This commit is contained in:
1 parent
d4088aa09b
commit
32e9869cc8
63 files changed
+197
-197
No files matched your search
@@ -82,7 +82,7 @@ func TestCreateSetsDirPermissions(t *testing.T) {
|
||||
|
||||
cfg := testConfig(filepath.Join(rtest.TempDir(t), "repo"))
|
||||
|
||||
be, err := sftp.Create(context.Background(), cfg, func(string, ...interface{}) {})
|
||||
be, err := sftp.Create(context.Background(), cfg, func(string, ...any) {})
|
||||
rtest.OK(t, err)
|
||||
defer func() { rtest.OK(t, be.Close()) }()
|
||||
|
||||
@@ -108,7 +108,7 @@ func TestSaveSetsDirPermissions(t *testing.T) {
|
||||
|
||||
cfg := testConfig(filepath.Join(rtest.TempDir(t), "repo"))
|
||||
|
||||
be, err := sftp.Create(context.Background(), cfg, func(string, ...interface{}) {})
|
||||
be, err := sftp.Create(context.Background(), cfg, func(string, ...any) {})
|
||||
rtest.OK(t, err)
|
||||
defer func() { rtest.OK(t, be.Close()) }()
|
||||
|
||||
|
||||
Reference in new issue
Block a user