cli/pkg
Andy Feller bdfd51ca7f Fix search tests around totals, initialization
This commit is focused on fixing the `searcher` tests for a few reasons:

1. Correcting the `.Total` logic in the previous commit caused changes to tests to fail
2. Tests involving results that exceed the max per page have been improved with new initialize helper, allowing testing table scenarios to be self contained
3. Tests that stub JSON response payloads have been standardized on maps rather than GitHub type primitives (Repository, Issue, Commit, Code, etc)
4. Tests had some minor formatting changes to make them easier to understand and maintain
2025-04-15 14:43:10 -04:00
..
cmd Merge pull request #10516 from iamazeem/8430-show-hostname-in-repo-creation-prompts 2025-04-09 14:30:56 -06:00
cmdutil Separate partitioning from globbing in cmdutil/args package and consumers (#3) 2025-03-04 07:05:23 +05:00
extensions Remove Extension.FullName() from interface 2024-12-08 20:01:26 -05:00
findsh go fmt 2021-12-02 16:12:24 +01:00
githubtemplate Add issue create --editor 2024-07-09 21:01:50 +09:00
httpmock feat: Add support for creating autolink references 2025-01-05 15:37:17 -05:00
iostreams Merge pull request #10737 from cli/andyfeller/muted-text-part2-github-cli-833 2025-04-08 16:59:36 -04:00
jsoncolor Wrap JSON arrays, objects in array with --slurp 2024-04-04 01:26:05 -07:00
jsonfieldstest Add tests for JSON field support on issue and pr view commands 2024-07-12 17:35:54 +02:00
markdown Allow user to override markdown wrap width via $GH_MDWIDTH from environment 2024-10-04 17:43:06 -07:00
option Add further docs to Option type 2024-05-10 11:05:59 +02:00
search Fix search tests around totals, initialization 2025-04-15 14:43:10 -04:00
set Add GH_HOST to hosts list if it has corresponding auth token (#5087) 2022-01-29 07:37:24 +00:00
ssh Minor nit suggestion 2024-11-06 16:12:55 -05:00
surveyext Unify use of tab indent in non-test source files 2024-08-03 00:35:30 +08:00