diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-04-06 22:32:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-06 22:32:08 +0200 |
commit | c34356d70ec011b8fe3a18bd60ce8234541358f7 (patch) | |
tree | 091972513babd4beca29d0318058facb678e5d1c /_examples/common_test.go | |
parent | 8ede7794a674fd890147f81201e25ecb517046f0 (diff) | |
parent | e0b296d0d0d235ad848cce7bc19130505c33d97b (diff) | |
download | go-git-c34356d70ec011b8fe3a18bd60ce8234541358f7.tar.gz |
Merge pull request #331 from marwan-at-work/examples
add git checkout example + housekeeping
Diffstat (limited to '_examples/common_test.go')
-rw-r--r-- | _examples/common_test.go | 7 |
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{} |