This stubs stderr separately from stdout in command tests (before those streams were combined) and improves test assertions around output. Additionally, no longer use the `cmd.Print*()` family of Cobra functions because their name sounds like the text will go to stdout, but they write to stderr instead. Use the more explicit `cmd.ErrOrStderr()` as output destination instead. |
||
|---|---|---|
| .. | ||
| completion.go | ||
| completion_test.go | ||
| issue.go | ||
| issue_test.go | ||
| pr.go | ||
| pr_checkout_test.go | ||
| pr_create.go | ||
| pr_create_test.go | ||
| pr_test.go | ||
| root.go | ||
| testing.go | ||
| title_body_survey.go | ||