Skip to content

Commit

Permalink
Add extra directories to path used in repo_add_test.go
Browse files Browse the repository at this point in the history
Signed-off-by: Guy Bolton King <guy@waftex.com>
  • Loading branch information
guyboltonking committed Jan 20, 2022
1 parent c7e1f9b commit ad6b4fe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/helm/repo_add_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ func TestRepoAddCmd(t *testing.T) {
}
defer srv2.Stop()

tmpdir := ensure.TempDir(t)
tmpdir := filepath.Join(ensure.TempDir(t), "path-component/data")
err = os.MkdirAll(tmpdir, 0777)
if err != nil {
t.Fatal(err)
}
repoFile := filepath.Join(tmpdir, "repositories.yaml")

tests := []cmdTestCase{
Expand Down

0 comments on commit ad6b4fe

Please sign in to comment.