update ftpserverlib to include the latest fixes and features

This commit is contained in:
Nicola Murino
2020-12-18 08:49:32 +01:00
parent 15609cdbc7
commit 65e6d5475f
4 changed files with 7 additions and 44 deletions

View File

@@ -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())