Forcing the Env variable to empty while testing the default shell logic
This commit is contained in:
parent
9070d12b2f
commit
fb0cae7320
|
@ -585,6 +585,7 @@ func TestDockerCheckWhenExecInfoFails(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestDockerCheckDefaultToSh(t *testing.T) {
|
||||
os.Setenv("SHELL", "")
|
||||
mock := &MockNotify{
|
||||
state: make(map[string]string),
|
||||
updates: make(map[string]int),
|
||||
|
|
Loading…
Reference in New Issue