Merge pull request #2549 from thomastaylor312/fix/broken_unit_test

fix(tests): Fixes broken unit test
This commit is contained in:
Taylor Thomas 2017-06-07 10:06:41 -07:00 committed by GitHub
commit eb2882d750

View file

@ -351,6 +351,7 @@ func TestRootCmd(t *testing.T) {
}{
{
name: "defaults",
args: []string{"home"},
home: filepath.Join(os.Getenv("HOME"), "/.helm"),
},
{
@ -365,6 +366,7 @@ func TestRootCmd(t *testing.T) {
},
{
name: "with $HELM_HOME set",
args: []string{"home"},
envars: map[string]string{"HELM_HOME": "/bar"},
home: "/bar",
},