final bit of feedback

This commit is contained in:
vilmibm 2022-12-14 16:24:21 -08:00
parent 6532397963
commit 5461d15b74
2 changed files with 4 additions and 4 deletions

View file

@ -22,15 +22,15 @@ import (
func explainer() string {
return heredoc.Doc(`
This command sets the default remote repository to use when querying the
GitHub API for a locally cloned repository.
GitHub API for the locally cloned repository.
gh uses the default repository for things like:
- viewing, creating, and setting the default base for pull requests
- viewing and creating pull requests
- viewing and creating issues
- viewing and creating releases
- working with Actions
- adding secrets`)
- adding repository and environment secrets`)
}
type iprompter interface {

View file

@ -329,7 +329,7 @@ func TestDefaultRun(t *testing.T) {
}
}
},
wantStdout: "This command sets the default remote repository to use when querying the\nGitHub API for a locally cloned repository.\n\ngh uses the default repository for things like:\n\n - viewing, creating, and setting the default base for pull requests\n - viewing and creating issues\n - viewing and creating releases\n - working with Actions\n - adding secrets\n\n✓ Set OWNER2/REPO2 as the default repository for the current directory\n",
wantStdout: "This command sets the default remote repository to use when querying the\nGitHub API for the locally cloned repository.\n\ngh uses the default repository for things like:\n\n - viewing and creating pull requests\n - viewing and creating issues\n - viewing and creating releases\n - working with Actions\n - adding repository and environment secrets\n\n✓ Set OWNER2/REPO2 as the default repository for the current directory\n",
},
{
name: "interactive mode only one known host",