diff options
author | Steve Moyer <smoyer1@selesy.com> | 2022-06-16 09:02:52 -0400 |
---|---|---|
committer | Steve Moyer <smoyer1@selesy.com> | 2022-06-16 09:02:52 -0400 |
commit | 1d4667c825bb5d291070bd4463c39a16f950f674 (patch) | |
tree | 84f1101f4cddc3804955c2c2ff90e3687c1dafee /entity/dag/common_test.go | |
parent | d853a6fbc996762ab264452150558bb92bdbd6fc (diff) | |
download | git-bug-1d4667c825bb5d291070bd4463c39a16f950f674.tar.gz |
refactor(809): eliminate need to defer CleanupTestRepos()
Diffstat (limited to 'entity/dag/common_test.go')
-rw-r--r-- | entity/dag/common_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/entity/dag/common_test.go b/entity/dag/common_test.go index 532e3ff8..c2177683 100644 --- a/entity/dag/common_test.go +++ b/entity/dag/common_test.go @@ -103,9 +103,9 @@ func makeTestContext() (repository.ClockedRepo, identity.Interface, identity.Int } func makeTestContextRemote(t *testing.T) (repository.ClockedRepo, repository.ClockedRepo, repository.ClockedRepo, identity.Interface, identity.Interface, identity.Resolver, Definition) { - repoA := repository.CreateGoGitTestRepo(false) - repoB := repository.CreateGoGitTestRepo(false) - remote := repository.CreateGoGitTestRepo(true) + repoA := repository.CreateGoGitTestRepo(t, false) + repoB := repository.CreateGoGitTestRepo(t, false) + remote := repository.CreateGoGitTestRepo(t, true) err := repoA.AddRemote("remote", remote.GetLocalRemote()) require.NoError(t, err) |