Skip to content

Commit e1f78f1

Browse files
committed
Fix old test to play nicely with new rewriting
1 parent a334aa3 commit e1f78f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminalContrib/chatAgentTools/test/electron-browser/commandSimplifier.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ suite('command re-writing', () => {
331331
test('should not rewrite cd /d when directory does not match cwd', async () => {
332332
const testDir = 'C:\\test\\workspace';
333333
const differentDir = 'C:\\different\\path';
334-
const command = `cd /d ${differentDir} && echo hello`;
334+
const command = `cd /d ${differentDir} ; echo hello`;
335335
const options = createRewriteParams(command, 'session-1');
336336
setWorkspaceFolders([URI.file(testDir)]);
337337

0 commit comments

Comments
 (0)