From 68918a8852f16f60e8410e84f37a1cab921a081c Mon Sep 17 00:00:00 2001 From: Julien Laffaye Date: Sat, 4 Mar 2017 12:58:20 +0100 Subject: [PATCH] Remove useless assignment --- client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }