소스 검색

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")
 	}