diff --git a/src/test/common/terminals/service.unit.test.ts b/src/test/common/terminals/service.unit.test.ts index a9be10e6dd0a..7859b6d29e49 100644 --- a/src/test/common/terminals/service.unit.test.ts +++ b/src/test/common/terminals/service.unit.test.ts @@ -189,8 +189,7 @@ suite('Terminal Service', () => { terminal.verify((t) => t.sendText(TypeMoq.It.isValue(textToSend)), TypeMoq.Times.exactly(1)); }); - // Ensure sendText is called when Python shell integration are disabled. - test('Ensure text is sent to terminal and it is shown when Python shell integration is disabled', async () => { + test('Ensure sendText is used when Python shell integration is disabled', async () => { pythonConfig .setup((p) => p.get('terminal.shellIntegration.enabled')) .returns(() => false) @@ -211,7 +210,6 @@ suite('Terminal Service', () => { terminal.verify((t) => t.sendText(TypeMoq.It.isValue(textToSend)), TypeMoq.Times.exactly(1)); }); - // Ensure sendText is called when terminal.shellIntegration is enabled but Python shell integration is disabled test('Ensure sendText is called when terminal.shellIntegration enabled but Python shell integration disabled', async () => { pythonConfig .setup((p) => p.get('terminal.shellIntegration.enabled')) @@ -233,8 +231,7 @@ suite('Terminal Service', () => { terminal.verify((t) => t.sendText(TypeMoq.It.isValue(textToSend)), TypeMoq.Times.exactly(1)); }); - // Ensure executeCommand is called when Python shell integration and terminal shell integration are both enabled - test('Ensure sendText is not called when Python shell integration and terminal shell integration are both enabled', async () => { + test('Ensure sendText is NOT called when Python shell integration and terminal shell integration are both enabled', async () => { pythonConfig .setup((p) => p.get('terminal.shellIntegration.enabled')) .returns(() => true)