Make old tests compatible with the new code

Ideally, this test should be rewritten to also test the case of multiple
repos being removed.

Signed-off-by: Andreas Lindhé <andreas@lindhe.io>
pull/7791/head
Andreas Lindhé 6 years ago
parent 0e1b3313ae
commit 57a01d32c8

@ -44,7 +44,7 @@ func TestRepoRemove(t *testing.T) {
b := bytes.NewBuffer(nil) b := bytes.NewBuffer(nil)
rmOpts := repoRemoveOptions{ rmOpts := repoRemoveOptions{
name: testRepoName, names: []string{testRepoName},
repoFile: repoFile, repoFile: repoFile,
repoCache: rootDir, repoCache: rootDir,
} }

Loading…
Cancel
Save