Skip to content

Commit aa42ab8

Browse files
committed
fix
1 parent eb29bba commit aa42ab8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

agent/agentcontainers/api_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ func TestAPI(t *testing.T) {
426426
FriendlyName: "container-name",
427427
Running: true,
428428
Labels: map[string]string{
429-
agentcontainers.DevcontainerLocalFolderLabel: "/workspace",
429+
agentcontainers.DevcontainerLocalFolderLabel: "/workspaces",
430430
agentcontainers.DevcontainerConfigFileLabel: "/workspace/.devcontainer/devcontainer.json",
431431
},
432432
}
@@ -1256,7 +1256,7 @@ func TestAPI(t *testing.T) {
12561256
Running: true,
12571257
CreatedAt: time.Now(),
12581258
Labels: map[string]string{
1259-
agentcontainers.DevcontainerLocalFolderLabel: "/workspace",
1259+
agentcontainers.DevcontainerLocalFolderLabel: "/workspaces",
12601260
agentcontainers.DevcontainerConfigFileLabel: "/workspace/.devcontainer/devcontainer.json",
12611261
},
12621262
}
@@ -1311,7 +1311,7 @@ func TestAPI(t *testing.T) {
13111311
// Verify agent was created.
13121312
require.Len(t, fakeSAC.created, 1)
13131313
assert.Equal(t, "test-container", fakeSAC.created[0].Name)
1314-
assert.Equal(t, "/workspace", fakeSAC.created[0].Directory)
1314+
assert.Equal(t, "/workspaces", fakeSAC.created[0].Directory)
13151315
assert.Len(t, fakeSAC.deleted, 0)
13161316
}
13171317

0 commit comments

Comments
 (0)