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) {
110
110
},
111
111
}, releases [len (releases )- 1 :])
112
112
113
- // downloader.GetIssues()
114
113
issues , isEnd , err := downloader .GetIssues (1 , 2 )
115
114
assert .NoError (t , err )
116
115
assert .EqualValues (t , 2 , len (issues ))
@@ -162,7 +161,6 @@ func TestGitlabDownloadRepo(t *testing.T) {
162
161
},
163
162
}, issues )
164
163
165
- // downloader.GetComments()
166
164
comments , err := downloader .GetComments (2 )
167
165
assert .NoError (t , err )
168
166
assert .EqualValues (t , 4 , len (comments ))
@@ -202,10 +200,9 @@ func TestGitlabDownloadRepo(t *testing.T) {
202
200
},
203
201
}, comments [:4 ])
204
202
205
- // downloader.GetPullRequests()
206
203
prs , err := downloader .GetPullRequests (1 , 1 )
207
204
assert .NoError (t , err )
208
- assert .EqualValues (t , 1 , len ( prs ) )
205
+ assert .Len (t , prs , 1 )
209
206
210
207
assert .EqualValues (t , []* base.PullRequest {
211
208
{
You can’t perform that action at this time.
0 commit comments