Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit96a39b7

Browse files
fix: appease linter
1 parentc84ae34 commit96a39b7

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

‎agent/agentcontainers/api_test.go‎

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3905,9 +3905,9 @@ func TestDevcontainerPrebuildSupport(t *testing.T) {
39053905
MergedConfiguration: agentcontainers.DevcontainerMergedConfiguration{
39063906
Customizations: agentcontainers.DevcontainerMergedCustomizations{
39073907
Coder: []agentcontainers.CoderCustomization{
3908-
agentcontainers.CoderCustomization{
3908+
{
39093909
Apps: []agentcontainers.SubAgentApp{
3910-
agentcontainers.SubAgentApp{
3910+
{
39113911
Slug:"zed",
39123912
URL:prebuildAppURL,
39133913
},
@@ -3929,10 +3929,8 @@ func TestDevcontainerPrebuildSupport(t *testing.T) {
39293929
testDC.WorkspaceFolder,testDC.ConfigPath,
39303930
"/.coder-agent/coder", []string{"agent"},gomock.Any(),gomock.Any(),
39313931
).Do(func(ctx context.Context,_,_,_string,_ []string,_...agentcontainers.DevcontainerCLIExecOptions)error {
3932-
select {
3933-
case<-ctx.Done():
3934-
returnnil
3935-
}
3932+
<-ctx.Done()
3933+
returnnil
39363934
}),
39373935
)
39383936

@@ -4018,9 +4016,9 @@ func TestDevcontainerPrebuildSupport(t *testing.T) {
40184016
MergedConfiguration: agentcontainers.DevcontainerMergedConfiguration{
40194017
Customizations: agentcontainers.DevcontainerMergedCustomizations{
40204018
Coder: []agentcontainers.CoderCustomization{
4021-
agentcontainers.CoderCustomization{
4019+
{
40224020
Apps: []agentcontainers.SubAgentApp{
4023-
agentcontainers.SubAgentApp{
4021+
{
40244022
Slug:"zed",
40254023
URL:userAppURL,
40264024
},
@@ -4042,10 +4040,8 @@ func TestDevcontainerPrebuildSupport(t *testing.T) {
40424040
testDC.WorkspaceFolder,testDC.ConfigPath,
40434041
"/.coder-agent/coder", []string{"agent"},gomock.Any(),gomock.Any(),
40444042
).Do(func(ctx context.Context,_,_,_string,_ []string,_...agentcontainers.DevcontainerCLIExecOptions)error {
4045-
select {
4046-
case<-ctx.Done():
4047-
returnnil
4048-
}
4043+
<-ctx.Done()
4044+
returnnil
40494045
}),
40504046
)
40514047

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp