File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,6 @@ func TestGitlabDownloadRepo(t *testing.T) {
110110 },
111111 }, releases [len (releases )- 1 :])
112112
113- // downloader.GetIssues()
114113 issues , isEnd , err := downloader .GetIssues (1 , 2 )
115114 assert .NoError (t , err )
116115 assert .EqualValues (t , 2 , len (issues ))
@@ -162,7 +161,6 @@ func TestGitlabDownloadRepo(t *testing.T) {
162161 },
163162 }, issues )
164163
165- // downloader.GetComments()
166164 comments , err := downloader .GetComments (2 )
167165 assert .NoError (t , err )
168166 assert .EqualValues (t , 4 , len (comments ))
@@ -202,10 +200,9 @@ func TestGitlabDownloadRepo(t *testing.T) {
202200 },
203201 }, comments [:4 ])
204202
205- // downloader.GetPullRequests()
206203 prs , err := downloader .GetPullRequests (1 , 1 )
207204 assert .NoError (t , err )
208- assert .EqualValues (t , 1 , len ( prs ) )
205+ assert .Len (t , prs , 1 )
209206
210207 assert .EqualValues (t , []* base.PullRequest {
211208 {
You can’t perform that action at this time.
0 commit comments