diff --git a/cmd/helm/init_test.go b/cmd/helm/init_test.go index 3b547ea1f..c79f736a9 100644 --- a/cmd/helm/init_test.go +++ b/cmd/helm/init_test.go @@ -55,7 +55,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))