Skip to content

Commit 1e278a9

Browse files
committed
add unittest for shell detector
in case of the incoming path is case-insensitive
1 parent 761664e commit 1e278a9

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)