Add MinID to Pagination

This commit is contained in:
178inaba 2019-02-14 22:23:25 +09:00 committed by mattn
parent 6bf95fc751
commit b8bb5ae68c
2 changed files with 13 additions and 2 deletions

View file

@ -339,7 +339,7 @@ func TestPaginationSetValues(t *testing.T) {
if after.Get("max_id") != "123" {
t.Fatalf("want %q but %q", "123", after.Get("max_id"))
}
if after.Get("since_id") != "" {
if after.Get("since_id") != "789" {
t.Fatalf("result should be empty string: %q", after.Get("since_id"))
}
if after.Get("limit") != "10" {