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
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue