diff options
author | Michael Muré <batolettre@gmail.com> | 2020-12-05 03:08:54 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-12-08 13:07:51 +0100 |
commit | 4ef2c1104079032336da9f2a7879f2432c2609ce (patch) | |
tree | c233921001ae0f43d5d1c62ad50148d2c5bb2e35 /cache/repo_cache_test.go | |
parent | bca9ae82745ffd619fd321f4200016c184849f94 (diff) | |
download | git-bug-4ef2c1104079032336da9f2a7879f2432c2609ce.tar.gz |
repo: finish RepoStorage move
Diffstat (limited to 'cache/repo_cache_test.go')
-rw-r--r-- | cache/repo_cache_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cache/repo_cache_test.go b/cache/repo_cache_test.go index 0037c7bb..1c5c41d2 100644 --- a/cache/repo_cache_test.go +++ b/cache/repo_cache_test.go @@ -167,10 +167,10 @@ func TestRemove(t *testing.T) { remoteB := repository.CreateGoGitTestRepo(true) defer repository.CleanupTestRepos(repo, remoteA, remoteB) - err := repo.AddRemote("remoteA", "file://"+remoteA.GetPath()) + err := repo.AddRemote("remoteA", remoteA.GetLocalRemote()) require.NoError(t, err) - err = repo.AddRemote("remoteB", "file://"+remoteB.GetPath()) + err = repo.AddRemote("remoteB", remoteB.GetLocalRemote()) require.NoError(t, err) repoCache, err := NewRepoCache(repo) |