8000 add unittest for shell detector · microsoft/vscode-python@72e6a46 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 72e6a46

Browse files
authored
add unittest for shell detector
in case of the incoming path is case-insensitive
1 parent e3ef4b0 commit 72e6a46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ suite('Shell Detectors', () => {
4141
shellPathsAndIdentification.set('/usr/bin/ksh', TerminalShellType.ksh);
4242
shellPathsAndIdentification.set('c:\\windows\\system32\\powershell.exe', TerminalShellType.powershell);
4343
shellPathsAndIdentification.set('c:\\windows\\system32\\pwsh.exe', TerminalShellType.powershellCore);
44+
shellPathsAndIdentification.set('C:\\Program Files\\nu\\bin\\nu.EXE', TerminalShellType.nushell);
4445
shellPathsAndIdentification.set('/usr/microsoft/xxx/powershell/powershell', TerminalShellType.powershell);
4546
shellPathsAndIdentification.set('/usr/microsoft/xxx/powershell/pwsh', TerminalShellType.powershellCore);
4647
shellPathsAndIdentification.set('/usr/bin/fish', TerminalShellType.fish);

0 commit comments

Comments
 (0)
0