瀏覽代碼

Add a comment to state why TestConn2 is interesting.

Julien Laffaye 12 年之前
父節點
當前提交
60693cc590
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      client_test.go

+ 3 - 0
client_test.go

@@ -104,6 +104,7 @@ func TestConn(t *testing.T) {
 	}
 }
 
+// ftp.mozilla.org uses multiline 220 response
 func TestConn2(t *testing.T) {
 	c, err := Connect("ftp.mozilla.org:21")
 	if err != nil {
@@ -119,4 +120,6 @@ func TestConn2(t *testing.T) {
 	if err != nil {
 		t.Error(err)
 	}
+
+	c.Quit()
 }