Skip to content

Commit 4516216

Browse files
committed
update test
1 parent a8067d2 commit 4516216

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/common/terminals/service.unit.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ suite('Terminal Service', () => {
258258
terminal.verify((t) => t.sendText(TypeMoq.It.isValue(textToSend)), TypeMoq.Times.exactly(1));
259259
});
260260

261-
test('Ensure sendText is NOT called when Python shell integration and terminal shell integration are both enabled - Mac, Linux && Python < 3.13', async () => {
261+
test('Ensure sendText is called when Python shell integration and terminal shell integration are both enabled - Mac, Linux && Python < 3.13', async () => {
262262
isWindowsStub.returns(false);
263263
pythonConfig
264264
.setup((p) => p.get('terminal.shellIntegration.enabled'))
@@ -277,7 +277,7 @@ suite('Terminal Service', () => {
277277
service.executeCommand(textToSend, true);
278278

279279
terminal.verify((t) => t.show(TypeMoq.It.isValue(true)), TypeMoq.Times.exactly(1));
280-
terminal.verify((t) => t.sendText(TypeMoq.It.isValue(textToSend)), TypeMoq.Times.never());
280+
terminal.verify((t) => t.sendText(TypeMoq.It.isValue(textToSend)), TypeMoq.Times.exactly(1));
281281
});
282282

283283
test('Ensure sendText is called when Python shell integration and terminal shell integration are both enabled - Mac, Linux && Python >= 3.13', async () => {

0 commit comments

Comments
 (0)