add the tests

pull/716/head
vaikas-google 9 years ago
parent a27e23990e
commit d636fb1e72

@ -13,7 +13,7 @@ func TestEnsureHome(t *testing.T) {
t.Errorf("%s", err)
}
expectedDirs := []string{homePath(), cacheDirectory(), localRepoDirectory()}
expectedDirs := []string{homePath(), repositoryDirectory(), cacheDirectory(), localRepoDirectory()}
for _, dir := range expectedDirs {
if fi, err := os.Stat(dir); err != nil {
t.Errorf("%s", err)

Loading…
Cancel
Save