diff --git a/cmd/helm/init_test.go b/cmd/helm/init_test.go index 7c9deb044..b8ae26150 100644 --- a/cmd/helm/init_test.go +++ b/cmd/helm/init_test.go @@ -215,7 +215,7 @@ func TestEnsureHome(t *testing.T) { if err != nil { t.Error(err) } - if !filepath.IsAbs(rr.Cache) { + if filepath.IsAbs(rr.Cache) { t.Errorf("%s stable repo cache path is an absolute path", rr.Cache) } absCache, err := filepath.Abs(filepath.Join(hh.Cache(), rr.Cache))