@@ -209,13 +209,13 @@ func searchIssueIsPull(t *testing.T) {
209
209
SearchOptions {
210
210
IsPull : optional .Some (false ),
211
211
},
212
- []int64 {17 , 16 , 15 , 14 , 13 , 6 , 5 , 18 , 10 , 7 , 4 , 1 },
212
+ []int64 {25 , 24 , 23 , 17 , 16 , 15 , 14 , 13 , 6 , 5 , 18 , 10 , 7 , 4 , 1 },
213
213
},
214
214
{
215
215
SearchOptions {
216
216
IsPull : optional .Some (true ),
217
217
},
218
- []int64 {22 , 21 , 12 , 11 , 20 , 19 , 9 , 8 , 3 , 2 },
218
+ []int64 {22 , 21 , 28 , 27 , 26 , 12 , 11 , 20 , 19 , 9 , 8 , 3 , 2 },
219
219
},
220
220
}
221
221
for _ , test := range tests {
@@ -236,7 +236,7 @@ func searchIssueIsClosed(t *testing.T) {
236
236
SearchOptions {
237
237
IsClosed : optional .Some (false ),
238
238
},
239
- []int64 {22 , 21 , 17 , 16 , 15 , 14 , 13 , 12 , 11 , 20 , 6 , 19 , 18 , 10 , 7 , 9 , 8 , 3 , 2 , 1 },
239
+ []int64 {25 , 24 , 23 , 22 , 21 , 28 , 27 , 26 , 17 , 16 , 15 , 14 , 13 , 12 , 11 , 20 , 6 , 19 , 18 , 10 , 7 , 9 , 8 , 3 , 2 , 1 },
240
240
},
241
241
{
242
242
SearchOptions {
@@ -302,7 +302,7 @@ func searchIssueByLabelID(t *testing.T) {
302
302
SearchOptions {
303
303
ExcludedLabelIDs : []int64 {1 },
304
304
},
305
- []int64 {22 , 21 , 17 , 16 , 15 , 14 , 13 , 12 , 11 , 20 , 6 , 5 , 19 , 18 , 10 , 7 , 4 , 9 , 8 , 3 },
305
+ []int64 {25 , 24 , 23 , 22 , 21 , 28 , 27 , 26 , 17 , 16 , 15 , 14 , 13 , 12 , 11 , 20 , 6 , 5 , 19 , 18 , 10 , 7 , 4 , 9 , 8 , 3 },
306
306
},
307
307
}
308
308
for _ , test := range tests {
@@ -323,7 +323,7 @@ func searchIssueByTime(t *testing.T) {
323
323
SearchOptions {
324
324
UpdatedAfterUnix : optional .Some (int64 (0 )),
325
325
},
326
- []int64 {22 , 21 , 17 , 16 , 15 , 14 , 13 , 12 , 11 , 20 , 6 , 5 , 19 , 18 , 10 , 7 , 4 , 9 , 8 , 3 , 2 , 1 },
326
+ []int64 {25 , 24 , 23 , 22 , 21 , 28 , 27 , 26 , 17 , 16 , 15 , 14 , 13 , 12 , 11 , 20 , 6 , 5 , 19 , 18 , 10 , 7 , 4 , 9 , 8 , 3 , 2 , 1 },
327
327
},
328
328
}
329
329
for _ , test := range tests {
@@ -344,7 +344,7 @@ func searchIssueWithOrder(t *testing.T) {
344
344
SearchOptions {
345
345
SortBy : internal .SortByCreatedAsc ,
346
346
},
347
- []int64 {1 , 2 , 3 , 8 , 9 , 4 , 7 , 10 , 18 , 19 , 5 , 6 , 20 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 21 , 22 },
347
+ []int64 {1 , 2 , 3 , 8 , 9 , 4 , 7 , 10 , 18 , 19 , 5 , 6 , 20 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 26 , 27 , 28 , 21 , 22 , 23 , 24 , 25 },
348
348
},
349
349
}
350
350
for _ , test := range tests {
@@ -401,8 +401,8 @@ func searchIssueWithPaginator(t *testing.T) {
401
401
PageSize : 5 ,
402
402
},
403
403
},
404
- []int64 {22 , 21 , 17 , 16 , 15 },
405
- 22 ,
404
+ []int64 {25 , 24 , 23 , 22 , 21 },
405
+ 28 ,
406
406
},
407
407
}
408
408
for _ , test := range tests {
0 commit comments