Skip to content

Commit 162f73f

Browse files
committed
Improve test suite name
1 parent 7be8d0d commit 162f73f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/vs/platform/terminal/test/common/capabilities/commandDetection/promptInputModel.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class TestPromptInputModel extends PromptInputModel {
1919
}
2020
}
2121

22-
suite.only('PromptInputModel', () => {
22+
suite('PromptInputModel', () => {
2323
const store = ensureNoDisposablesAreLeakedInTestSuite();
2424
let promptInputModel: TestPromptInputModel;
2525
let xterm: Terminal;
@@ -57,15 +57,15 @@ suite.only('PromptInputModel', () => {
5757
strictEqual(promptInputModel.cursorIndex, cursorIndex,);
5858
}
5959

60-
suite('Windows, pwsh 7.4.2, starship prompt', () => {
60+
suite('Windows 11 (10.0.22621.3447), pwsh 7.4.2, starship prompt 1.10.2', () => {
6161
test('input with ignored ghost text', async () => {
6262
await replayEvents([
6363
'[?25l]0;C:\Program Files\WindowsApps\Microsoft.PowerShell_7.4.2.0_x64__8wekyb3d8bbwe\pwsh.exe[?25h',
64-
'[?25l[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K\n\r[K[H[?25h',
64+
'[?25l[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K\r\n[K[H[?25h',
6565
']633;P;IsWindows=True',
6666
']633;P;ContinuationPrompt=\x1b[38\x3b5\x3b8m∙\x1b[0m ',
6767
']633;A]633;P;Cwd=C:\x5cGithub\x5cmicrosoft\x5cvscode]633;B',
68-
'[34m\n\r[38;2;17;17;17m[44m03:13:47 [34m[41m [38;2;17;17;17mvscode [31m[43m [38;2;17;17;17m tyriar/prompt_input_model [33m[46m [38;2;17;17;17m$⇡ [36m[49m [mvia [32m[1m v18.18.2 \n\r❯[m ',
68+
'[34m\r\n[38;2;17;17;17m[44m03:13:47 [34m[41m [38;2;17;17;17mvscode [31m[43m [38;2;17;17;17m tyriar/prompt_input_model [33m[46m [38;2;17;17;17m$⇡ [36m[49m [mvia [32m[1m v18.18.2 \r\n❯[m ',
6969
]);
7070
onCommandStart.fire({ marker: xterm.registerMarker() } as ITerminalCommand);
7171
promptInputModel.forceSync();

0 commit comments

Comments
 (0)