cli/pkg/cmd/api
Andy Feller b722dd4151 Add tests for non-happy field paths
This commit as a suite of test around different combination of `gh api` field scenarios that result in errors.

In the course of creating this test, there were 2 scenarios that did not raise an error as expected involving overriding an existing map value.
2024-04-05 17:21:28 -04:00
..
api.go Apply suggestions from code review 2024-04-02 17:39:20 -07:00
api_test.go Set default Accept header for api command when one is not specified (#8303) 2023-11-06 15:22:32 +01:00
fields.go Add tests for non-happy field paths 2024-04-05 17:21:28 -04:00
fields_test.go Add tests for non-happy field paths 2024-04-05 17:21:28 -04:00
http.go Set default Accept header for api command when one is not specified (#8303) 2023-11-06 15:22:32 +01:00
http_test.go Set default Accept header for api command when one is not specified (#8303) 2023-11-06 15:22:32 +01:00
pagination.go api: output a single JSON array in REST pagination mode (#7190) 2023-06-09 20:55:06 +02:00
pagination_test.go Automatically add per_page=100 to paginated REST requests 2020-06-23 18:42:57 +02:00