Skip to content

Commit 92fa325

Browse files
committed
chore: Test nu is not the only shell
1 parent 6a8210d commit 92fa325

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

nu/tests.nu

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,15 @@ def "test nu is added as a shell" [] {
109109
assert str contains $shell "/nu"
110110
}
111111

112+
def 'test nu is not the only shell' [] {
113+
let shells = cat /etc/shells
114+
| lines
115+
| where not ($it | str contains "nu")
116+
| length
117+
118+
assert greater $shells 1
119+
}
120+
112121
def "test main plugins are installed" [] {
113122
let plugins = (plugin list) | get name
114123

0 commit comments

Comments
 (0)