Skip to content

Commit eeaa84a

Browse files
committed
reformat test
1 parent b599665 commit eeaa84a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/migrations/gitlab_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)