@@ -3905,9 +3905,9 @@ func TestDevcontainerPrebuildSupport(t *testing.T) {
3905
3905
MergedConfiguration : agentcontainers.DevcontainerMergedConfiguration {
3906
3906
Customizations : agentcontainers.DevcontainerMergedCustomizations {
3907
3907
Coder : []agentcontainers.CoderCustomization {
3908
- agentcontainers. CoderCustomization {
3908
+ {
3909
3909
Apps : []agentcontainers.SubAgentApp {
3910
- agentcontainers. SubAgentApp {
3910
+ {
3911
3911
Slug : "zed" ,
3912
3912
URL : prebuildAppURL ,
3913
3913
},
@@ -3929,10 +3929,8 @@ func TestDevcontainerPrebuildSupport(t *testing.T) {
3929
3929
testDC .WorkspaceFolder , testDC .ConfigPath ,
3930
3930
"/.coder-agent/coder" , []string {"agent" }, gomock .Any (), gomock .Any (),
3931
3931
).Do (func (ctx context.Context , _ , _ , _ string , _ []string , _ ... agentcontainers.DevcontainerCLIExecOptions ) error {
3932
- select {
3933
- case <- ctx .Done ():
3934
- return nil
3935
- }
3932
+ <- ctx .Done ()
3933
+ return nil
3936
3934
}),
3937
3935
)
3938
3936
@@ -4018,9 +4016,9 @@ func TestDevcontainerPrebuildSupport(t *testing.T) {
4018
4016
MergedConfiguration : agentcontainers.DevcontainerMergedConfiguration {
4019
4017
Customizations : agentcontainers.DevcontainerMergedCustomizations {
4020
4018
Coder : []agentcontainers.CoderCustomization {
4021
- agentcontainers. CoderCustomization {
4019
+ {
4022
4020
Apps : []agentcontainers.SubAgentApp {
4023
- agentcontainers. SubAgentApp {
4021
+ {
4024
4022
Slug : "zed" ,
4025
4023
URL : userAppURL ,
4026
4024
},
@@ -4042,10 +4040,8 @@ func TestDevcontainerPrebuildSupport(t *testing.T) {
4042
4040
testDC .WorkspaceFolder , testDC .ConfigPath ,
4043
4041
"/.coder-agent/coder" , []string {"agent" }, gomock .Any (), gomock .Any (),
4044
4042
).Do (func (ctx context.Context , _ , _ , _ string , _ []string , _ ... agentcontainers.DevcontainerCLIExecOptions ) error {
4045
- select {
4046
- case <- ctx .Done ():
4047
- return nil
4048
- }
4043
+ <- ctx .Done ()
4044
+ return nil
4049
4045
}),
4050
4046
)
4051
4047
0 commit comments