@@ -426,7 +426,7 @@ func TestAPI(t *testing.T) {
426
426
FriendlyName : "container-name" ,
427
427
Running : true ,
428
428
Labels : map [string ]string {
429
- agentcontainers .DevcontainerLocalFolderLabel : "/workspace " ,
429
+ agentcontainers .DevcontainerLocalFolderLabel : "/workspaces " ,
430
430
agentcontainers .DevcontainerConfigFileLabel : "/workspace/.devcontainer/devcontainer.json" ,
431
431
},
432
432
}
@@ -1256,7 +1256,7 @@ func TestAPI(t *testing.T) {
1256
1256
Running : true ,
1257
1257
CreatedAt : time .Now (),
1258
1258
Labels : map [string ]string {
1259
- agentcontainers .DevcontainerLocalFolderLabel : "/workspace " ,
1259
+ agentcontainers .DevcontainerLocalFolderLabel : "/workspaces " ,
1260
1260
agentcontainers .DevcontainerConfigFileLabel : "/workspace/.devcontainer/devcontainer.json" ,
1261
1261
},
1262
1262
}
@@ -1311,7 +1311,7 @@ func TestAPI(t *testing.T) {
1311
1311
// Verify agent was created.
1312
1312
require .Len (t , fakeSAC .created , 1 )
1313
1313
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 )
1315
1315
assert .Len (t , fakeSAC .deleted , 0 )
1316
1316
}
1317
1317
0 commit comments