Commit 5cfb4e8c authored by Taylor Thomas's avatar Taylor Thomas

fix(tests): Fixes broken unit test

The new unit test was not passing an explict subcommand arg to the
root command in the unit test.
parent 52a3405b
......@@ -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",
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment