File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1174,12 +1174,12 @@ describe("SSH runtime redundant cd detection", () => {
11741174 }
11751175
11761176 it ( "should add educational note when command starts with cd" , async ( ) => {
1177- const remoteCwd = "~ /workspace/project/branch" ;
1177+ const remoteCwd = "/remote /workspace/project/branch" ;
11781178 using testEnv = createTestBashToolWithSSH ( remoteCwd ) ;
11791179 const tool = testEnv . tool ;
11801180
11811181 const args : BashToolArgs = {
1182- script : "cd ~ /workspace/project/branch && echo test" ,
1182+ script : "cd /remote /workspace/project/branch && echo test" ,
11831183 timeout_secs : 5 ,
11841184 } ;
11851185
@@ -1194,7 +1194,7 @@ describe("SSH runtime redundant cd detection", () => {
11941194 } ) ;
11951195
11961196 it ( "should not add note when command does not start with cd" , async ( ) => {
1197- const remoteCwd = "~ /workspace/project/branch" ;
1197+ const remoteCwd = "/remote /workspace/project/branch" ;
11981198 using testEnv = createTestBashToolWithSSH ( remoteCwd ) ;
11991199 const tool = testEnv . tool ;
12001200
You can’t perform that action at this time.
0 commit comments