Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: add extra test case
Technically this doesn't really test anything new but it is good to have
an explicit test for anyways.
  • Loading branch information
DanielleMaywood committed Jun 19, 2025
commit db59693f91ce55390665e30d8eff85447a05f238
11 changes: 11 additions & 0 deletions agent/agentcontainers/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1765,6 +1765,17 @@ func TestAPI(t *testing.T) {
require.NotEqual(t, "custom-name", subAgent.Name)
},
},
{
name: "EmptyNameIsIgnored",
customization: []agentcontainers.CoderCustomization{
{
Name: "",
},
},
afterCreate: func(t *testing.T, subAgent agentcontainers.SubAgent) {
require.NotEmpty(t, subAgent.Name)
},
},
}

for _, tt := range tests {
Expand Down
Loading