1
0
Fork 0
forked from forgejo/forgejo

Refactor StringsToInt64s (#29967)

And close #27176

(cherry picked from commit cdb4d1a8db096d60dba04728924dab85def45b19)
This commit is contained in:
wxiaoguang 2024-03-21 23:07:35 +08:00 committed by Earl Warren
parent f8060bb5d9
commit e5920b4a62
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
12 changed files with 30 additions and 27 deletions

View file

@ -67,7 +67,6 @@ func TestPullRequestsNewest(t *testing.T) {
},
State: "open",
SortType: "newest",
Labels: []string{},
})
assert.NoError(t, err)
assert.EqualValues(t, 3, count)
@ -114,7 +113,6 @@ func TestPullRequestsOldest(t *testing.T) {
},
State: "open",
SortType: "oldest",
Labels: []string{},
})
assert.NoError(t, err)
assert.EqualValues(t, 3, count)