diff --git a/client_test.go b/client_test.go index 1f9cf81..94fb341 100644 --- a/client_test.go +++ b/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") }