cli/pkg/cmd/pr/shared
Tyler McGoffin 4382bdf072 Fix pr create tests
Due to the refactor of BranchConfig, the tests for `pr create` no longer
require a handful of stubbed git commands.

Additionally, I noticed some overlap between `pr create`'s existing logic
with the new finder code. I suspect that the finder's new ParsePRRefs
helper could be leveraged here as well, which would allow us to respect
non-centralized workflows pr create in the same way we are respecting them
in `gh pr view` and `gh pr status`
2025-01-24 14:01:44 -08:00
..
commentable.go Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
comments.go Add support for editing last issue/pr comment (#6384) 2022-10-18 08:10:12 +00:00
completion.go Add --reviewer flag completion (#6873) 2023-01-25 18:02:13 +01:00
display.go Adding no checks message when PR has no checks 2022-10-05 22:10:38 -03:00
display_test.go Adding no checks message when PR has no checks 2022-10-05 22:10:38 -03:00
editable.go linter appeasement 2023-08-17 17:17:26 -05:00
editable_http.go Correct some typos 2023-04-21 03:51:31 +02:00
finder.go Fix pr create tests 2025-01-24 14:01:44 -08:00
finder_test.go Refactor pr status to use the ParsePRRefs helper on the Finder 2025-01-24 11:51:49 -08:00
params.go chore: tidy up 2024-11-07 10:20:23 +11:00
params_test.go Replace old search utility with new search (#5366) 2022-04-06 16:44:52 +02:00
preserve.go Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
preserve_test.go Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
reaction_groups.go Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
state.go fix: ignore template flag 2024-11-07 10:20:23 +11:00
survey.go Clean up Title Survey empty title message code 2024-10-17 14:40:17 -07:00
survey_test.go Remove . from test case for TestTitleSurvey 2024-10-17 14:45:35 -07:00
templates.go Add issue create --editor 2024-07-09 21:01:50 +09:00
templates_test.go Add issue create --editor 2024-07-09 21:01:50 +09:00