From 563a35142454211b0413fa23865d69b01976f250 Mon Sep 17 00:00:00 2001 From: Yashodhan Ghadge Date: Thu, 21 Oct 2021 18:49:52 +0530 Subject: [PATCH] Update clone_test.go Co-authored-by: lhchavez --- clone_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/clone_test.go b/clone_test.go index ea8a04f..9644781 100644 --- a/clone_test.go +++ b/clone_test.go @@ -105,6 +105,7 @@ func TestCloneWithExternalHTTPUrWithLocalServer(t *testing.T) { // clone the repo url := serv.URL + "/.git" path, err := ioutil.TempDir("", "git2go") + defer os.RemoveAll(path) _, err = Clone(url, path, &CloneOptions{}) if err != nil { t.Fatal("cannot clone remote repo via http, error: ", err)