diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-29 02:27:16 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-01-29 22:36:15 +0100 |
commit | acb1dc80d93f45a055b14903679abca3a6e994f6 (patch) | |
tree | a7e29fd677bb5c11df85fca1fcb6d015bc40fa7b /examples/common_test.go | |
parent | 352170d1bf8cc7b32b85d8a2740eb3627e952a6e (diff) | |
download | go-git-acb1dc80d93f45a055b14903679abca3a6e994f6.tar.gz |
example: using new constructors
Diffstat (limited to 'examples/common_test.go')
-rw-r--r-- | examples/common_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/common_test.go b/examples/common_test.go index 9ec1f05..0baf2f1 100644 --- a/examples/common_test.go +++ b/examples/common_test.go @@ -16,12 +16,12 @@ var examplesTest = flag.Bool("examples", false, "run the examples tests") var defaultURL = "https://github.com/mcuadros/basic.git" var args = map[string][]string{ - "showcase": []string{defaultURL}, + "showcase": []string{defaultURL, tempFolder()}, "custom_http": []string{defaultURL}, "clone": []string{defaultURL, tempFolder()}, "progress": []string{defaultURL, tempFolder()}, - "open": []string{filepath.Join(cloneRepository(defaultURL, tempFolder()), ".git")}, - "push": []string{setEmptyRemote(filepath.Join(cloneRepository(defaultURL, tempFolder()), ".git"))}, + "open": []string{cloneRepository(defaultURL, tempFolder())}, + "push": []string{setEmptyRemote(cloneRepository(defaultURL, tempFolder()))}, } var ignored = map[string]bool{ |