From b433792a44ba6a55a18a20a47100b65f14b52379 Mon Sep 17 00:00:00 2001 From: Andy Feller Date: Wed, 16 Jul 2025 15:09:13 -0400 Subject: [PATCH] Fix copilot replace test names In refactoring how this parameter works, I forgot to update the related tests to match. --- pkg/cmd/pr/shared/params_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cmd/pr/shared/params_test.go b/pkg/cmd/pr/shared/params_test.go index 63d7e1000..1291b2c99 100644 --- a/pkg/cmd/pr/shared/params_test.go +++ b/pkg/cmd/pr/shared/params_test.go @@ -198,7 +198,7 @@ func TestCopilotReplacer_ReplaceSlice(t *testing.T) { want []string }{ { - name: "replaces @copilot with copilot-swe-agent for non-web mode", + name: "replaces @copilot with login", returnLogin: true, args: args{ handles: []string{"monalisa", "@copilot", "hubot"}, @@ -206,7 +206,7 @@ func TestCopilotReplacer_ReplaceSlice(t *testing.T) { want: []string{"monalisa", "copilot-swe-agent", "hubot"}, }, { - name: "replaces @copilot with copilot for web mode", + name: "replaces @copilot with name", args: args{ handles: []string{"monalisa", "@copilot", "hubot"}, },