Update clone_test.go
Co-authored-by: lhchavez <lhchavez@lhchavez.com>
This commit is contained in:
parent
406940513f
commit
563a351424
|
@ -105,6 +105,7 @@ func TestCloneWithExternalHTTPUrWithLocalServer(t *testing.T) {
|
||||||
// clone the repo
|
// clone the repo
|
||||||
url := serv.URL + "/.git"
|
url := serv.URL + "/.git"
|
||||||
path, err := ioutil.TempDir("", "git2go")
|
path, err := ioutil.TempDir("", "git2go")
|
||||||
|
defer os.RemoveAll(path)
|
||||||
_, err = Clone(url, path, &CloneOptions{})
|
_, err = Clone(url, path, &CloneOptions{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal("cannot clone remote repo via http, error: ", err)
|
t.Fatal("cannot clone remote repo via http, error: ", err)
|
||||||
|
|
Loading…
Reference in New Issue