Skip to content

Commit 02b909a

Browse files
committed
tests
1 parent b68ebd8 commit 02b909a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/terminals/codeExecution/helper.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ suite('Terminal - Code Execution Helper', async () => {
137137
editor.setup((e) => e.document).returns(() => document.object);
138138
});
139139

140-
test('normalizeLines should handle attach_bracket_paste correctly', async () => {
140+
test('normalizeLines with BASIC_REPL does not attach bracketed paste mode', async () => {
141141
configurationService
142142
.setup((c) => c.getSettings(TypeMoq.It.isAny()))
143143
.returns({
@@ -163,7 +163,7 @@ suite('Terminal - Code Execution Helper', async () => {
163163

164164
const result = await helper.normalizeLines('print("Looks like you are on 3.13")', ReplType.terminal);
165165

166-
expect(result).to.equal(`\u001b[200~print("Looks like you are on 3.13")\u001b[201~`);
166+
expect(result).to.equal(`print("Looks like you are on 3.13")`);
167167
jsonParseStub.restore();
168168
});
169169

src/test/terminals/shellIntegration/pythonStartup.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
} from 'vscode';
1717
import { assert } from 'chai';
1818
import * as workspaceApis from '../../../client/common/vscodeApis/workspaceApis';
19-
import { registerPythonStartup } from '../../../client/terminals/pythonStartup';
19+
import { registerBasicRepl, registerPythonStartup } from '../../../client/terminals/pythonStartup';
2020
import { IExtensionContext } from '../../../client/common/types';
2121
import * as pythonStartupLinkProvider from '../../../client/terminals/pythonStartupLinkProvider';
2222
import { CustomTerminalLinkProvider } from '../../../client/terminals/pythonStartupLinkProvider';
@@ -136,7 +136,7 @@ suite('Terminal - Shell Integration with PYTHONSTARTUP', () => {
136136
});
137137

138138
test('PYTHON_BASIC_REPL is set when registerBasicRepl is called', async () => {
139-
await registerPythonStartup(context.object);
139+
await registerBasicRepl(context.object);
140140
globalEnvironmentVariableCollection.verify(
141141
(c) => c.replace('PYTHON_BASIC_REPL', '1', TypeMoq.It.isAny()),
142142
TypeMoq.Times.once(),

0 commit comments

Comments
 (0)