aboutsummaryrefslogtreecommitdiffstats
path: root/_examples/common_test.go
diff options
context:
space:
mode:
authormarwan-at-work <marwan.sulaiman@work.co>2017-04-06 15:57:48 -0400
committermarwan-at-work <marwan.sulaiman@work.co>2017-04-06 15:58:19 -0400
commit2b503ad6cd32fa8e265e36dd09ea76d53bc26950 (patch)
tree899ff75568a308fe8982eacc3eedd9a8dbf1f2c6 /_examples/common_test.go
parentfcfeefbde8fd69aa1f3a059713988f61e59f64f1 (diff)
downloadgo-git-2b503ad6cd32fa8e265e36dd09ea76d53bc26950.tar.gz
add git checkout example + housekeeping
Diffstat (limited to '_examples/common_test.go')
-rw-r--r--_examples/common_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/_examples/common_test.go b/_examples/common_test.go
index cb101e2..d812f2b 100644
--- a/_examples/common_test.go
+++ b/_examples/common_test.go
@@ -16,12 +16,13 @@ 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, tempFolder()},
- "custom_http": []string{defaultURL},
+ "checkout": []string{defaultURL, tempFolder(), "35e85108805c84807bc66a02d91535e1e24b38b9"},
"clone": []string{defaultURL, tempFolder()},
- "progress": []string{defaultURL, tempFolder()},
+ "custom_http": []string{defaultURL},
"open": []string{cloneRepository(defaultURL, tempFolder())},
+ "progress": []string{defaultURL, tempFolder()},
"push": []string{setEmptyRemote(cloneRepository(defaultURL, tempFolder()))},
+ "showcase": []string{defaultURL, tempFolder()},
}
var ignored = map[string]bool{}