(t *testing.T, cacheIndexFile string, cacheChartsFile string, repoName string)
| 153 | } |
| 154 | |
| 155 | func testCacheFiles(t *testing.T, cacheIndexFile string, cacheChartsFile string, repoName string) { |
| 156 | t.Helper() |
| 157 | if _, err := os.Stat(cacheIndexFile); err == nil { |
| 158 | t.Errorf("Error cache index file was not removed for repository %s", repoName) |
| 159 | } |
| 160 | if _, err := os.Stat(cacheChartsFile); err == nil { |
| 161 | t.Errorf("Error cache chart file was not removed for repository %s", repoName) |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | func TestRepoRemoveCompletion(t *testing.T) { |
| 166 | ts := repotest.NewTempServer( |
no test coverage detected
searching dependent graphs…