This commit is contained in:
CrazyMax
2020-07-28 21:13:33 +02:00
parent 01c291065f
commit 696d865fa3
4 changed files with 16 additions and 13 deletions

View File

@@ -328,7 +328,7 @@ func openConn(t *testing.T, addr string, options ...DialOption) (*ftpMock, *Serv
// Helper to close a client connected to a mock server
func closeConn(t *testing.T, mock *ftpMock, c *ServerConn, commands []string) {
expected := []string{"FEAT", "USER", "PASS", "TYPE"}
expected := []string{"FEAT", "USER", "PASS", "TYPE", "OPTS"}
expected = append(expected, commands...)
expected = append(expected, "QUIT")