mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
sftpd: port to non deprecated pkg/sftp error types
see https://github.com/pkg/sftp/pull/304
This commit is contained in:
@@ -191,7 +191,7 @@ func TestSFTPCmdTargetPath(t *testing.T) {
|
||||
User: u,
|
||||
}
|
||||
_, err := connection.getSFTPCmdTargetPath("invalid_path")
|
||||
if err != sftp.ErrSshFxOpUnsupported {
|
||||
if err != sftp.ErrSSHFxOpUnsupported {
|
||||
t.Errorf("getSFTPCmdTargetPath must fal with the expected error: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user