mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 06:40:54 +03:00
update ftpserverlib to include the latest fixes and features
This commit is contained in:
@@ -1164,7 +1164,7 @@ func TestErrorsMapping(t *testing.T) {
|
||||
err := conn.GetFsError(os.ErrNotExist)
|
||||
if protocol == ProtocolSFTP {
|
||||
assert.EqualError(t, err, sftp.ErrSSHFxNoSuchFile.Error())
|
||||
} else if protocol == ProtocolWebDAV {
|
||||
} else if protocol == ProtocolWebDAV || protocol == ProtocolFTP {
|
||||
assert.EqualError(t, err, os.ErrNotExist.Error())
|
||||
} else {
|
||||
assert.EqualError(t, err, ErrNotExist.Error())
|
||||
|
||||
Reference in New Issue
Block a user