mirror of
https://github.com/rclone/rclone.git
synced 2025-12-23 11:43:50 +00:00
vendor: update all dependencies to latest versions
This commit is contained in:
12
vendor/github.com/pkg/sftp/request_test.go
generated
vendored
12
vendor/github.com/pkg/sftp/request_test.go
generated
vendored
@@ -1,8 +1,6 @@
|
||||
package sftp
|
||||
|
||||
import (
|
||||
"sync"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
"bytes"
|
||||
@@ -58,12 +56,10 @@ var filecontents = []byte("file-data.")
|
||||
|
||||
func testRequest(method string) *Request {
|
||||
request := &Request{
|
||||
Filepath: "./request_test.go",
|
||||
Method: method,
|
||||
Attrs: []byte("foo"),
|
||||
Target: "foo",
|
||||
state: &state{},
|
||||
stateLock: &sync.RWMutex{},
|
||||
Filepath: "./request_test.go",
|
||||
Method: method,
|
||||
Attrs: []byte("foo"),
|
||||
Target: "foo",
|
||||
}
|
||||
return request
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user