diff --git a/mastodon_test.go b/mastodon_test.go index 62ec165..5fdefe4 100644 --- a/mastodon_test.go +++ b/mastodon_test.go @@ -341,10 +341,10 @@ func TestPaginationSetValues(t *testing.T) { t.Fatalf("want %q but %q", "123", after.Get("max_id")) } if after.Get("since_id") != "456" { - t.Fatalf("result should be empty string: %q", after.Get("since_id")) + t.Fatalf("want %q but %q", "456", after.Get("since_id")) } if after.Get("min_id") != "789" { - t.Fatalf("result should be empty string: %q", after.Get("since_id")) + t.Fatalf("want %q but %q", "789", after.Get("min_id")) } if after.Get("limit") != "10" { t.Fatalf("want %q but %q", "10", after.Get("limit")) @@ -362,4 +362,7 @@ func TestPaginationSetValues(t *testing.T) { if after.Get("since_id") != "789" { t.Fatalf("want %q but %q", "789", after.Get("since_id")) } + if after.Get("min_id") != "" { + t.Fatalf("result should be empty string: %q", after.Get("min_id")) + } }