clean up terminal suggest code, fix bugs (#237599)

This commit is contained in:
Megan Rogge
2025-01-09 15:31:20 -06:00
committed by GitHub
parent e8184ed571
commit 4a8978f7de
5 changed files with 119 additions and 68 deletions

View File

@@ -62,9 +62,9 @@ function createCodeTestSpecs(executable: string): ITestSpec2[] {
{ input: `${executable} --merge ./file1 ./file2 ./base |`, expectedResourceRequests: { type: 'files', cwd: testCwd } },
{ input: `${executable} --goto |`, expectedResourceRequests: { type: 'files', cwd: testCwd } },
{ input: `${executable} --user-data-dir |`, expectedResourceRequests: { type: 'folders', cwd: testCwd } },
{ input: `${executable} --profile |` },
{ input: `${executable} --install-extension |` },
{ input: `${executable} --uninstall-extension |` },
{ input: `${executable} --profile |`, expectedResourceRequests: { type: 'both', cwd: testCwd } },
{ input: `${executable} --install-extension |`, expectedResourceRequests: { type: 'both', cwd: testCwd } },
{ input: `${executable} --uninstall-extension |`, expectedResourceRequests: { type: 'both', cwd: testCwd } },
{ input: `${executable} --log |`, expectedCompletions: logOptions },
{ input: `${executable} --sync |`, expectedCompletions: syncOptions },
{ input: `${executable} --extensions-dir |`, expectedResourceRequests: { type: 'folders', cwd: testCwd } },