Skip to content

Commit f15928c

Browse files
committed
test correction
1 parent 7afffd3 commit f15928c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/terminals/codeExecution/terminalCodeExec.unit.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -643,10 +643,10 @@ suite('Terminal - Code Execution', () => {
643643
terminalSettings.setup((t) => t.launchArgs).returns(() => terminalArgs);
644644

645645
await executor.execute('cmd1');
646-
terminalService.verify(async (t) => t.executeCommand('cmd1', false), TypeMoq.Times.once());
646+
terminalService.verify(async (t) => t.executeCommand('cmd1', true), TypeMoq.Times.once());
647647

648648
await executor.execute('cmd2');
649-
terminalService.verify(async (t) => t.executeCommand('cmd2', false), TypeMoq.Times.once());
649+
terminalService.verify(async (t) => t.executeCommand('cmd2', true), TypeMoq.Times.once());
650650
});
651651

652652
test('Ensure code is sent to the same terminal for a particular resource', async () => {
@@ -668,10 +668,10 @@ suite('Terminal - Code Execution', () => {
668668
terminalSettings.setup((t) => t.launchArgs).returns(() => terminalArgs);
669669

670670
await executor.execute('cmd1', resource);
671-
terminalService.verify(async (t) => t.executeCommand('cmd1', false), TypeMoq.Times.once());
671+
terminalService.verify(async (t) => t.executeCommand('cmd1', true), TypeMoq.Times.once());
672672

673673
await executor.execute('cmd2', resource);
674-
terminalService.verify(async (t) => t.executeCommand('cmd2', false), TypeMoq.Times.once());
674+
terminalService.verify(async (t) => t.executeCommand('cmd2', true), TypeMoq.Times.once());
675675
});
676676
});
677677
});

0 commit comments

Comments
 (0)