Skip to content

Commit daa0681

Browse files
committed
test: add test cases for Gemini agent type in server_test.go
1 parent cc1449f commit daa0681

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cmd/server/server_test.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ func TestParseAgentType(t *testing.T) {
2323
agentTypeVar: "",
2424
want: AgentTypeClaude,
2525
},
26+
{
27+
firstArg: "gemini",
28+
agentTypeVar: "",
29+
want: AgentTypeGemini,
30+
},
2631
{
2732
firstArg: "goose",
2833
agentTypeVar: "",
@@ -48,6 +53,11 @@ func TestParseAgentType(t *testing.T) {
4853
agentTypeVar: "claude",
4954
want: AgentTypeClaude,
5055
},
56+
{
57+
firstArg: "claude",
58+
agentTypeVar: "gemini",
59+
want: AgentTypeGemini,
60+
},
5161
{
5262
firstArg: "aider",
5363
agentTypeVar: "claude",

0 commit comments

Comments
 (0)