diff --git a/pkg/cmd/issue/create/create_test.go b/pkg/cmd/issue/create/create_test.go index 65731e561..80c8f76d3 100644 --- a/pkg/cmd/issue/create/create_test.go +++ b/pkg/cmd/issue/create/create_test.go @@ -317,7 +317,7 @@ func Test_createRun(t *testing.T) { WebMode: true, Assignees: []string{"@copilot"}, }, - wantsBrowse: "https://github.com/OWNER/REPO/issues/new?assignees=copilot&body=", + wantsBrowse: "https://github.com/OWNER/REPO/issues/new?assignees=Copilot&body=", wantsStderr: "Opening https://github.com/OWNER/REPO/issues/new in your browser.\n", }, { diff --git a/pkg/cmd/pr/shared/params_test.go b/pkg/cmd/pr/shared/params_test.go index 1291b2c99..3c95a9a5d 100644 --- a/pkg/cmd/pr/shared/params_test.go +++ b/pkg/cmd/pr/shared/params_test.go @@ -210,7 +210,7 @@ func TestCopilotReplacer_ReplaceSlice(t *testing.T) { args: args{ handles: []string{"monalisa", "@copilot", "hubot"}, }, - want: []string{"monalisa", "copilot", "hubot"}, + want: []string{"monalisa", "Copilot", "hubot"}, }, { name: "handles no @copilot mentions",