diff options
Diffstat (limited to 'entity/dag/example_test.go')
-rw-r--r-- | entity/dag/example_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/entity/dag/example_test.go b/entity/dag/example_test.go index 106e359c..948d6aeb 100644 --- a/entity/dag/example_test.go +++ b/entity/dag/example_test.go @@ -344,7 +344,9 @@ func Example_entity() { repoRenePath, _ := os.MkdirTemp("", "") repoIsaacPath, _ := os.MkdirTemp("", "") repoRene, _ := repository.InitGoGitRepo(repoRenePath, gitBugNamespace) + defer repoRene.Close() repoIsaac, _ := repository.InitGoGitRepo(repoIsaacPath, gitBugNamespace) + defer repoIsaac.Close() _ = repoRene.AddRemote("origin", repoIsaacPath) _ = repoIsaac.AddRemote("origin", repoRenePath) |