mirror of
https://github.com/helm/helm.git
synced 2026-04-29 18:19:15 -04:00
Merge pull request #2549 from thomastaylor312/fix/broken_unit_test
fix(tests): Fixes broken unit test
This commit is contained in:
commit
eb2882d750
1 changed files with 2 additions and 0 deletions
|
|
@ -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",
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue