We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5278c9 commit db59693Copy full SHA for db59693
agent/agentcontainers/api_test.go
@@ -1765,6 +1765,17 @@ func TestAPI(t *testing.T) {
1765
require.NotEqual(t, "custom-name", subAgent.Name)
1766
},
1767
1768
+ {
1769
+ name: "EmptyNameIsIgnored",
1770
+ customization: []agentcontainers.CoderCustomization{
1771
1772
+ Name: "",
1773
+ },
1774
1775
+ afterCreate: func(t *testing.T, subAgent agentcontainers.SubAgent) {
1776
+ require.NotEmpty(t, subAgent.Name)
1777
1778
1779
}
1780
1781
for _, tt := range tests {
0 commit comments