@@ -57,31 +57,31 @@ func TestOpen(t *testing.T) {
57
57
},
58
58
{
59
59
name : "nonexistent workspace" ,
60
- args : []string {"--test.no- open" , workspace .Name + "bad" },
60
+ args : []string {"--test.open-error " , workspace .Name + "bad" },
61
61
wantError : true ,
62
62
},
63
63
{
64
64
name : "ok" ,
65
- args : []string {"--test.no- open" , workspace .Name },
65
+ args : []string {"--test.open-error " , workspace .Name },
66
66
wantDir : agentDir ,
67
67
},
68
68
{
69
69
name : "relative path error" ,
70
- args : []string {"--test.no- open" , workspace .Name , "my/relative/path" },
70
+ args : []string {"--test.open-error " , workspace .Name , "my/relative/path" },
71
71
wantError : true ,
72
72
},
73
73
{
74
74
name : "ok with abs path" ,
75
- args : []string {"--test.no- open" , workspace .Name , agentDir },
75
+ args : []string {"--test.open-error " , workspace .Name , agentDir },
76
76
wantDir : agentDir ,
77
77
},
78
78
{
79
79
name : "ok with token" ,
80
- args : []string {"--test.no- open" , workspace .Name , "--generate-token" },
80
+ args : []string {"--test.open-error " , workspace .Name , "--generate-token" },
81
81
wantDir : agentDir ,
82
82
wantToken : true ,
83
83
},
84
- // Inside workspace, does not require --test.no- open.
84
+ // Inside workspace, does not require --test.open-error .
85
85
{
86
86
name : "ok inside workspace" ,
87
87
env : insideWorkspaceEnv ,
0 commit comments