We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7f9de1 commit f4e482aCopy full SHA for f4e482a
libmachine/shell/shell_test.go
@@ -19,10 +19,7 @@ func TestDetectBash(t *testing.T) {
19
20
func TestDetectFish(t *testing.T) {
21
defer func(shell string) { os.Setenv("SHELL", shell) }(os.Getenv("SHELL"))
22
- os.Setenv("SHELL", "/bin/bash")
23
-
24
- defer func(fishDir string) { os.Setenv("__fish_bin_dir", fishDir) }(os.Getenv("__fish_bin_dir"))
25
- os.Setenv("__fish_bin_dir", "/usr/local/Cellar/fish/2.2.0/bin")
+ os.Setenv("SHELL", "/bin/fish")
26
27
shell, err := Detect()
28
0 commit comments