Explorar o código

Remove useless assignment

Julien Laffaye %!s(int64=8) %!d(string=hai) anos
pai
achega
68918a8852
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")
 	}