Merge pull request #2549 from thomastaylor312/fix/broken_unit_test

fix(tests): Fixes broken unit test
pull/2556/head
Taylor Thomas 8 years ago committed by GitHub
commit eb2882d750

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

Loading…
Cancel
Save