فهرست منبع

Remove useless assignment

Julien Laffaye 8 سال پیش
والد
کامیت
68918a8852
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      client_test.go

+ 1 - 1
client_test.go

@@ -118,7 +118,7 @@ func testConn(t *testing.T, disableEPSV bool) {
 		t.Errorf("file size %q, expected %q", fileSize, 0)
 	}
 
-	fileSize, err = c.FileSize("not-found")
+	_, err = c.FileSize("not-found")
 	if err == nil {
 		t.Fatal("expected error, got nil")
 	}