Rename idx, idx2 to cacheIndexFile, cacheChartsFile

Signed-off-by: Andreas Lindhé <andreas@lindhe.io>
pull/7791/head
Andreas Lindhé 6 years ago
parent 5060fa3892
commit 081de7aa1e

@ -62,7 +62,7 @@ func TestRepoRemove(t *testing.T) {
t.Error(err) t.Error(err)
} }
idx, idx2 := createCacheFiles(rootDir, testRepoName) cacheIndexFile, cacheChartsFile := createCacheFiles(rootDir, testRepoName)
// Reset the buffer before running repo remove // Reset the buffer before running repo remove
b.Reset() b.Reset()
@ -74,7 +74,7 @@ func TestRepoRemove(t *testing.T) {
t.Errorf("Unexpected output: %s", b.String()) t.Errorf("Unexpected output: %s", b.String())
} }
testCacheFiles(t, idx, idx2, testRepoName) testCacheFiles(t, cacheIndexFile, cacheChartsFile, testRepoName)
f, err := repo.LoadFile(repoFile) f, err := repo.LoadFile(repoFile)
if err != nil { if err != nil {

Loading…
Cancel
Save