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:
parent
5cf3d3b9a5
commit
b433792a44
1 changed files with 2 additions and 2 deletions
|
|
@ -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"},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue