aboutsummaryrefslogtreecommitdiffstats
path: root/examples/common_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'examples/common_test.go')
-rw-r--r--examples/common_test.go6
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{