Fix copilot replace test names

In refactoring how this parameter works, I forgot to update the related tests to match.
This commit is contained in:
Andy Feller 2025-07-16 15:09:13 -04:00
parent 5cf3d3b9a5
commit b433792a44

View file

@ -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"},
},